Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/
Ddrm_property.c697 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local
706 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() argument
743 if (old_blob == new_blob) in drm_property_replace_blob()
[all …]
Ddrm_atomic_uapi.c373 struct drm_property_blob *new_blob = NULL; in drm_atomic_replace_property_blob_from_id() local
376 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()
Ddrm_connector.c2284 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local
2286 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()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1449 struct drm_property_blob *new_blob = NULL; in atomic_replace_property_blob_from_id() local
1452 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()
/linux-6.1.9/include/drm/
Ddrm_property.h289 struct drm_property_blob *new_blob);