summaryrefslogtreecommitdiff
path: root/tests/kms_plane_scaling.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_scaling.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_scaling.c')
-rw-r--r--tests/kms_plane_scaling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 0db8f13a..85db11ee 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -709,7 +709,7 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
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);
igt_display_require(&data.display, data.drm_fd);
data.devid = is_i915_device(data.drm_fd) ?
intel_get_drm_devid(data.drm_fd) : 0;