mirror-linux/drivers/gpu/drm/tests
Janusz Krzysztofik 2ba1579839
drm/tests: Fix incorrect argument in drm_test_mm_insert_range
While drm_mm test was converted form igt selftest to kunit, unexpected
value of "end" argument equal "start" was introduced to one of calls to a
function that executes the drm_test_mm_insert_range for specific start/end
pair of arguments.  As a consequence, DRM_MM_BUG_ON(end <= start) is
triggered.  Fix it by restoring the original value.

Fixes: fc8d29e298 ("drm: selftest: convert drm_mm selftest to KUnit")
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Cc: "Maíra Canal" <mairacanal@riseup.net>
Cc: Arthur Grillo <arthurgrillo@riseup.net>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Daniel Latypov <dlatypov@google.com>
Cc: stable@vger.kernel.org # v6.1+
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230911130323.7037-2-janusz.krzysztofik@linux.intel.com
2023-09-15 11:39:48 -03:00
..
.kunitconfig
Makefile drm: add drm_exec selftests v4 2023-07-12 14:14:23 +02:00
drm_buddy_test.c drm: test: Fix 32-bit issue in drm_buddy_test 2023-03-29 17:14:15 +02: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/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_exec_test.c drm/test: drm_exec: fix memory leak on object prepare 2023-08-10 09:01:00 +02:00
drm_format_helper_test.c drm/format-helper: Use drm_format_info_min_pitch() in tests helper 2023-03-17 16:59:54 +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: Fix swapped drm_framebuffer tests parameter names 2023-06-28 20:39:15 -03:00
drm_kunit_helpers.c drm/tests/drm_kunit_helpers: Place correct function name in the comment header 2023-08-24 10:52:59 +02: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: Fix incorrect argument in drm_test_mm_insert_range 2023-09-15 11:39:48 -03:00
drm_modes_test.c drm/tests: modes: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02: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: probe-helper: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_rect_test.c drm/test: Add test cases for drm_rect_rotate_inv() 2023-04-24 16:33:26 -03:00