diff options
author | Mark Yacoub <markyacoub@google.com> | 2021-11-10 14:53:02 -0500 |
---|---|---|
committer | Mark Yacoub <markyacoub@google.com> | 2021-11-11 17:37:08 +0000 |
commit | da501a6e8f9776b52312774bfb239b058ce96c77 (patch) | |
tree | 0ac603ab0b41280de24693fe00b26a5c9e1884fe /tests/kms_hdr.c | |
parent | 93e3cdbea55741ddbd92c54ffbe07d40c743483e (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_hdr.c')
-rw-r--r-- | tests/kms_hdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c index 273263db..35e25f4d 100644 --- a/tests/kms_hdr.c +++ b/tests/kms_hdr.c @@ -647,7 +647,7 @@ igt_main data_t data = {}; igt_fixture { - data.fd = drm_open_driver_master(DRIVER_AMDGPU | DRIVER_INTEL); + data.fd = drm_open_driver_master(DRIVER_ANY); kmstest_set_vt_graphics_mode(); |