linux-stable/drivers/gpu/drm/tests
Maxime Ripard 4fcd238560
drm/modes: Add a function to generate analog display modes
Multiple drivers (meson, vc4, sun4i) define analog TV 525-lines and
625-lines modes in their drivers.

Since those modes are fairly standard, and that we'll need to use them
in more places in the future, it makes sense to move their definition
into the core framework.

However, analog display usually have fairly loose timings requirements,
the only discrete parameters being the total number of lines and pixel
clock frequency. Thus, we created a function that will create a display
mode from the standard, the pixel frequency and the active area.

Tested-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Acked-in-principle-or-something-like-that-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v10-6-256dad125326@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-11-24 12:42:39 +01:00
..
.kunitconfig
drm_buddy_test.c drm/tests: Add back seed value information 2022-11-02 09:22:47 -03:00
drm_client_modeset_test.c drm/tests: client: Mention that we can't use MODULE_ macros 2022-11-24 12:42:39 +01:00
drm_cmdline_parser_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_damage_helper_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_dp_mst_helper_test.c drm/tests: Split drm_test_dp_mst_sideband_msg_req_decode into parameterized tests 2022-10-16 14:47:53 -03:00
drm_format_helper_test.c drm: tests: Fix a buffer overflow in format_helper_test 2022-10-20 09:56:05 +02:00
drm_format_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_framebuffer_test.c drm/tests: Split drm_framebuffer_create_test into parameterized tests 2022-09-14 13:53:33 -03:00
drm_kunit_helpers.c drm/tests: helpers: Add SPDX header 2022-11-17 09:25:38 +01:00
drm_kunit_helpers.h drm/tests: helpers: Add SPDX header 2022-11-17 09:25:38 +01:00
drm_mm_test.c drm/tests: Add back seed value information 2022-11-02 09:22:47 -03:00
drm_modes_test.c drm/modes: Add a function to generate analog display modes 2022-11-24 12:42:39 +01:00
drm_plane_helper_test.c drm/plane_helper: Split into parameterized test cases 2022-10-20 08:13:30 -03:00
drm_rect_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
Makefile drm/modes: Add a function to generate analog display modes 2022-11-24 12:42:39 +01:00