Searched refs:new_blob (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_property.c | 697 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 …]
|
H A D | drm_atomic_uapi.c | 373 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() 384 new_blob->length != expected_size) { in drm_atomic_replace_property_blob_from_id() 387 new_blob->base.id, new_blob->length, expected_size); in drm_atomic_replace_property_blob_from_id() 388 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id() 392 new_blob->length % expected_elem_size != 0) { in drm_atomic_replace_property_blob_from_id() 395 new_blob->base.id, new_blob->length, expected_elem_size); in drm_atomic_replace_property_blob_from_id() 396 drm_property_blob_put(new_blob); in drm_atomic_replace_property_blob_from_id() 401 *replaced |= drm_property_replace_blob(blob, new_blob); in drm_atomic_replace_property_blob_from_id() [all …]
|
H A D | drm_connector.c | 2502 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local 2504 if (!old_blob || !new_blob) in drm_connector_atomic_hdr_metadata_equal() 2505 return old_blob == new_blob; in drm_connector_atomic_hdr_metadata_equal() 2507 if (old_blob->length != new_blob->length) in drm_connector_atomic_hdr_metadata_equal() 2510 return !memcmp(old_blob->data, new_blob->data, old_blob->length); in drm_connector_atomic_hdr_metadata_equal()
|
/openbmc/linux/include/drm/ |
H A D | drm_property.h | 289 struct drm_property_blob *new_blob);
|