Searched refs:new_blob (Results 1 – 5 of 5) sorted by relevance
697 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local706 new_blob = drm_property_create_blob(dev, length, data); in drm_property_replace_global_blob()707 if (IS_ERR(new_blob)) in drm_property_replace_global_blob()708 return PTR_ERR(new_blob); in drm_property_replace_global_blob()714 new_blob ? in drm_property_replace_global_blob()715 new_blob->base.id : 0); in drm_property_replace_global_blob()721 *replace = new_blob; in drm_property_replace_global_blob()726 drm_property_blob_put(new_blob); in drm_property_replace_global_blob()739 struct drm_property_blob *new_blob) in drm_property_replace_blob() argument743 if (old_blob == new_blob) in drm_property_replace_blob()[all …]
373 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local376 new_blob = drm_property_lookup_blob(dev, blob_id); in drm_atomic_replace_property_blob_from_id()377 if (new_blob == NULL) in drm_atomic_replace_property_blob_from_id()381 new_blob->length != expected_size) { in drm_atomic_replace_property_blob_from_id()382 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()386 new_blob->length % expected_elem_size != 0) { in drm_atomic_replace_property_blob_from_id()387 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()392 *replaced |= drm_property_replace_blob(blob, new_blob); in drm_atomic_replace_property_blob_from_id()393 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()
2284 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local2286 if (!old_blob || !new_blob) in drm_connector_atomic_hdr_metadata_equal()2287 return old_blob == new_blob; in drm_connector_atomic_hdr_metadata_equal()2289 if (old_blob->length != new_blob->length) in drm_connector_atomic_hdr_metadata_equal()2292 return !memcmp(old_blob->data, new_blob->data, old_blob->length); in drm_connector_atomic_hdr_metadata_equal()
1449 struct drm_property_blob *new_blob = NULL; in atomic_replace_property_blob_from_id() local1452 new_blob = drm_property_lookup_blob(dev, blob_id); in atomic_replace_property_blob_from_id()1453 if (new_blob == NULL) in atomic_replace_property_blob_from_id()1457 new_blob->length != expected_size) { in atomic_replace_property_blob_from_id()1458 drm_property_blob_put(new_blob); in atomic_replace_property_blob_from_id()1462 new_blob->length % expected_elem_size != 0) { in atomic_replace_property_blob_from_id()1463 drm_property_blob_put(new_blob); in atomic_replace_property_blob_from_id()1468 *replaced |= drm_property_replace_blob(blob, new_blob); in atomic_replace_property_blob_from_id()1469 drm_property_blob_put(new_blob); in atomic_replace_property_blob_from_id()
289 struct drm_property_blob *new_blob);