Searched refs:new_blob (Results 1 – 4 of 4) sorted by relevance
706 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local715 new_blob = drm_property_create_blob(dev, length, data); in drm_property_replace_global_blob()716 if (IS_ERR(new_blob)) in drm_property_replace_global_blob()717 return PTR_ERR(new_blob); in drm_property_replace_global_blob()723 new_blob ? in drm_property_replace_global_blob()724 new_blob->base.id : 0); in drm_property_replace_global_blob()730 *replace = new_blob; in drm_property_replace_global_blob()735 drm_property_blob_put(new_blob); in drm_property_replace_global_blob()748 struct drm_property_blob *new_blob) in drm_property_replace_blob() argument752 if (old_blob == new_blob) in drm_property_replace_blob()[all …]
399 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local402 new_blob = drm_property_lookup_blob(dev, blob_id); in drm_atomic_replace_property_blob_from_id()403 if (new_blob == NULL) in drm_atomic_replace_property_blob_from_id()407 new_blob->length != expected_size) { in drm_atomic_replace_property_blob_from_id()408 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()412 new_blob->length % expected_elem_size != 0) { in drm_atomic_replace_property_blob_from_id()413 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()418 *replaced |= drm_property_replace_blob(blob, new_blob); in drm_atomic_replace_property_blob_from_id()419 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()
284 struct drm_property_blob *new_blob);
4703 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in is_hdr_metadata_different() local4705 if (old_blob != new_blob) { in is_hdr_metadata_different()4706 if (old_blob && new_blob && in is_hdr_metadata_different()4707 old_blob->length == new_blob->length) in is_hdr_metadata_different()4708 return memcmp(old_blob->data, new_blob->data, in is_hdr_metadata_different()