Searched refs:new_blob (Results 1 – 4 of 4) sorted by relevance
700 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local709 new_blob = drm_property_create_blob(dev, length, data); in drm_property_replace_global_blob()710 if (IS_ERR(new_blob)) in drm_property_replace_global_blob()711 return PTR_ERR(new_blob); in drm_property_replace_global_blob()717 new_blob ? in drm_property_replace_global_blob()718 new_blob->base.id : 0); in drm_property_replace_global_blob()724 *replace = new_blob; in drm_property_replace_global_blob()729 drm_property_blob_put(new_blob); in drm_property_replace_global_blob()742 struct drm_property_blob *new_blob) in drm_property_replace_blob() argument746 if (old_blob == new_blob) in drm_property_replace_blob()[all …]
394 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local397 new_blob = drm_property_lookup_blob(dev, blob_id); in drm_atomic_replace_property_blob_from_id()398 if (new_blob == NULL) in drm_atomic_replace_property_blob_from_id()402 new_blob->length != expected_size) { in drm_atomic_replace_property_blob_from_id()403 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()407 new_blob->length % expected_elem_size != 0) { in drm_atomic_replace_property_blob_from_id()408 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()413 *replaced |= drm_property_replace_blob(blob, new_blob); in drm_atomic_replace_property_blob_from_id()414 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()
282 struct drm_property_blob *new_blob);
4193 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in is_hdr_metadata_different() local4195 if (old_blob != new_blob) { in is_hdr_metadata_different()4196 if (old_blob && new_blob && in is_hdr_metadata_different()4197 old_blob->length == new_blob->length) in is_hdr_metadata_different()4198 return memcmp(old_blob->data, new_blob->data, in is_hdr_metadata_different()