diff options
author | Bhanuprakash Modem <bhanuprakash.modem@intel.com> | 2023-06-26 10:40:30 +0530 |
---|---|---|
committer | Bhanuprakash Modem <bhanuprakash.modem@intel.com> | 2023-06-28 13:32:47 +0530 |
commit | 416fec6df2302f915f9c98735eadb92814fc0098 (patch) | |
tree | dffd854d74b2d86f3d84238920635ce99330dfba /tests/kms_hdmi_inject.c | |
parent | 9a02ddfe1b2f3e1af8f79cf083b959bac5dcdc2c (diff) |
tests: Drop xe_device get/put from test level
As xe_device get/put is already handled at driver open/close
level, drop these checks from tests.
V2: - New patch for xe_config()
V3: - Fix xe_spin_batch.c
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'tests/kms_hdmi_inject.c')
-rw-r--r-- | tests/kms_hdmi_inject.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c index e3db34502..9aa5c59fc 100644 --- a/tests/kms_hdmi_inject.c +++ b/tests/kms_hdmi_inject.c @@ -206,9 +206,6 @@ igt_main igt_require(connector); kmstest_unset_all_crtcs(drm_fd, res); - - if (is_xe_device(drm_fd)) - xe_device_get(drm_fd); } igt_describe("Make sure that 4K modes exposed by DRM match the " @@ -223,10 +220,6 @@ igt_main igt_fixture { drmModeFreeConnector(connector); - - if (is_xe_device(drm_fd)) - xe_device_put(drm_fd); - drm_close_driver(drm_fd); } } |