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 …]
407 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local410 new_blob = drm_property_lookup_blob(dev, blob_id); in drm_atomic_replace_property_blob_from_id()411 if (new_blob == NULL) in drm_atomic_replace_property_blob_from_id()415 new_blob->length != expected_size) { in drm_atomic_replace_property_blob_from_id()416 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()420 new_blob->length % expected_elem_size != 0) { in drm_atomic_replace_property_blob_from_id()421 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()426 *replaced |= drm_property_replace_blob(blob, new_blob); in drm_atomic_replace_property_blob_from_id()427 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id()
2212 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local2214 if (!old_blob || !new_blob) in drm_connector_atomic_hdr_metadata_equal()2215 return old_blob == new_blob; in drm_connector_atomic_hdr_metadata_equal()2217 if (old_blob->length != new_blob->length) in drm_connector_atomic_hdr_metadata_equal()2220 return !memcmp(old_blob->data, new_blob->data, old_blob->length); in drm_connector_atomic_hdr_metadata_equal()
289 struct drm_property_blob *new_blob);