Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_property.c697 struct drm_property_blob *new_blob = NULL; in drm_property_replace_global_blob() local
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()
743 if (old_blob == new_blob) in drm_property_replace_blob()
747 if (new_blob) in drm_property_replace_blob()
748 drm_property_blob_get(new_blob); in drm_property_replace_blob()
[all …]
A 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()
A Ddrm_connector.c2254 struct drm_property_blob *new_blob = new_state->hdr_output_metadata; in drm_connector_atomic_hdr_metadata_equal() local
2256 if (!old_blob || !new_blob) in drm_connector_atomic_hdr_metadata_equal()
2257 return old_blob == new_blob; in drm_connector_atomic_hdr_metadata_equal()
2259 if (old_blob->length != new_blob->length) in drm_connector_atomic_hdr_metadata_equal()
2262 return !memcmp(old_blob->data, new_blob->data, old_blob->length); in drm_connector_atomic_hdr_metadata_equal()
/linux/include/drm/
A Ddrm_property.h289 struct drm_property_blob *new_blob);

Completed in 13 milliseconds