Home
last modified time | relevance | path

Searched refs:new_blob (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/
Ddrm_property.c700 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local
709 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() argument
746 if (old_blob == new_blob) in drm_property_replace_blob()
[all …]
Ddrm_atomic_uapi.c407 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local
410 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()
Ddrm_connector.c2212 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local
2214 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()
/Linux-v5.15/include/drm/
Ddrm_property.h289 struct drm_property_blob *new_blob);