summaryrefslogtreecommitdiff
path: root/tests/kms_plane_multiple.c
diff options
context:
space:
mode:
authorMark Yacoub <markyacoub@google.com>2021-11-10 14:53:02 -0500
committerMark Yacoub <markyacoub@google.com>2021-11-11 17:37:08 +0000
commitda501a6e8f9776b52312774bfb239b058ce96c77 (patch)
tree0ac603ab0b41280de24693fe00b26a5c9e1884fe /tests/kms_plane_multiple.c
parent93e3cdbea55741ddbd92c54ffbe07d40c743483e (diff)
tests: Remove restrictions on tests running only DRIVER_INTEL and DRIVER_AMDGPU
[Why] Drivers such as MSM are able to run tests that are made generic through supporting another driver that's not i915. Removing the restriction that enables the test on a 2 drivers only allow the tests to run on other drivers. [How] 1. Replace DRIVER_INTEL | DRIVER_AMDGPU by DRIVER_ANY 2. Make the checks more broad to allow intel generic implementation to work on all drivers while keeping special amdgpu's quirks. Tested on Trogdor (MSM) Signed-off-by: Mark Yacoub <markyacoub@chromium.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/kms_plane_multiple.c')
-rw-r--r--tests/kms_plane_multiple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
index ece00097..95e0d72a 100644
--- a/tests/kms_plane_multiple.c
+++ b/tests/kms_plane_multiple.c
@@ -444,7 +444,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
enum pipe pipe;
igt_fixture {
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_AMDGPU);
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
kmstest_set_vt_graphics_mode();
igt_require_pipe_crc(data.drm_fd);
igt_display_require(&data.display, data.drm_fd);