Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1
+1
drivers/gpu/drm/drm_mode_object.c
··· 478 478 479 479 return NULL; 480 480 } 481 + EXPORT_SYMBOL_FOR_TESTS_ONLY(drm_mode_obj_find_prop_id); 481 482 482 483 static int set_property_legacy(struct drm_mode_object *obj, 483 484 struct drm_property *prop,