linux-stable/drivers/gpu/drm/tests
Thomas Zimmermann 10cd592e63 drm/format-helper: Add conversion from XRGB8888 to 15-bit RGB555 formats
Add conversion from XRGB8888 to XRGB1555, ARGB1555 and RGBA5551, which
are the formats currently supported by the simplefb infrastructure. The
new helpers allow the output of XRGB8888 framebuffers to firmware
scanout buffers in one of the 15-bit formats.

v3:
	* use __le* for destination buffers (Jose, kernel test robot)
v2:
	* test 15-bit results with local endianness (Jose)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230102112927.26565-10-tzimmermann@suse.de
2023-01-03 14:26:05 +01:00
..
.kunitconfig
Makefile drm/tests: Add a test for DRM managed actions 2022-12-08 09:56:55 +01:00
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: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_cmdline_parser_test.c drm/modes: Introduce the tv_mode property as a command-line option 2022-11-24 12:42:39 +01:00
drm_connector_test.c drm/connector: Add a function to lookup a TV mode by its name 2022-11-24 12:42:39 +01: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/format-helper: Add conversion from XRGB8888 to 15-bit RGB555 formats 2023-01-03 14:26:05 +01: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: Allow to pass a custom drm_driver 2022-12-08 09:56:55 +01:00
drm_managed_test.c drm/tests: Add a test for DRM managed actions 2022-12-08 09:56:55 +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/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_plane_helper_test.c drm/plane_helper: Split into parameterized test cases 2022-10-20 08:13:30 -03:00
drm_probe_helper_test.c drm/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_rect_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00