linux/drivers/gpu/drm/tests
Dave Airlie 62b45bab01
drm/test: fix the gem shmem test to map the sg table.
The test here creates an sg table, but never maps it, when
we get to drm_gem_shmem_free, the helper tries to unmap and this
causes warnings on some platforms and debug kernels.

This also sets a 64-bit dma mask, as I see an swiotlb warning if I
stick with the default 32-bit one.

Fixes: 93032ae634 ("drm/test: add a test suite for GEM objects backed by shmem")
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Marco Pagani <marpagan@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240715083551.777807-1-airlied@gmail.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2024-08-02 09:24:31 +02:00
..
.kunitconfig
Makefile drm/tests: Add output bpc tests 2024-05-28 10:09:38 +02:00
drm_buddy_test.c drm-misc-next for 6.11: 2024-06-21 10:50:04 +10:00
drm_client_modeset_test.c drm/tests: client-modeset: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_cmdline_parser_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_connector_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_damage_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_dp_mst_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_exec_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_format_helper_test.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
drm_format_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_framebuffer_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_gem_shmem_test.c drm/test: fix the gem shmem test to map the sg table. 2024-08-02 09:24:31 +02:00
drm_hdmi_state_helper_test.c drm/tests: add drm_hdmi_state_helper_test MODULE_DESCRIPTION() 2024-06-20 10:15:41 +02:00
drm_kunit_edid.h drm/tests: Add HDMI connector bpc and format tests 2024-05-28 10:24:36 +02:00
drm_kunit_helpers.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_managed_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_mm_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_modes_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_plane_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_probe_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_rect_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00