drm/drm_property: make replace_property_blob_from_id a DRM helper
authorMelissa Wen <mwen@igalia.com>
Thu, 16 Nov 2023 19:57:42 +0000 (18:57 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 20:09:53 +0000 (15:09 -0500)
commit601603105325ad4ec62db95c9bc428202ece2c8f
tree876ba7eb77f94161fd3b062eac7de98c1d3483b6
parent1e13c5644c443dee727ac1330bc118c909a1cf07
drm/drm_property: make replace_property_blob_from_id a DRM helper

Place it in drm_property where drm_property_replace_blob and
drm_property_lookup_blob live. Then we can use the DRM helper for
driver-specific KMS properties too.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/arm/malidp_crtc.c
drivers/gpu/drm/drm_atomic_uapi.c
drivers/gpu/drm/drm_property.c
include/drm/drm_property.h