drm: Export symbols to use in tests
authorLouis Chauvet <louis.chauvet@bootlin.com>
Tue, 15 Apr 2025 13:55:36 +0000 (15:55 +0200)
committerLouis Chauvet <louis.chauvet@bootlin.com>
Wed, 28 May 2025 14:19:14 +0000 (16:19 +0200)
commit11d435b81e5dd2cc48daa2d3d71a19bcbc46e807
tree53ab88ee088147e95b926bac81143c750f6e8ba2
parentf776e5cef757927b038a9c07c0c68f34d35f7787
drm: Export symbols to use in tests

The functions drm_get_color_encoding_name and drm_get_color_range_name
are useful for clarifying test results. Therefore, export them so they
can be used in tests built as modules.

Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250415-yuv-v18-5-f2918f71ec4b@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
drivers/gpu/drm/drm_color_mgmt.c