]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/mode_object: Export drm_mode_obj_find_prop_id for tests
authorMaxime Ripard <mripard@kernel.org>
Mon, 27 May 2024 13:57:54 +0000 (15:57 +0200)
committerMaxime Ripard <mripard@kernel.org>
Tue, 28 May 2024 07:57:28 +0000 (09:57 +0200)
commitc6d219fb0335e6a37a4a2a29fb4a537329823c83
tree9223aa8585809c98a17fdb2a1e725ab2f6b43cfb
parentaadb3e16b8f30cc1c1efdfe162f400e026385bfb
drm/mode_object: Export drm_mode_obj_find_prop_id for tests

We'll need to use drm_mode_obj_find_prop_id() for kunit tests to make
sure a given property has been properly created. Let's export it for
tests only.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527-kms-hdmi-connector-state-v15-5-c5af16c3aae2@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_mode_object.c