diff options
author | Dominik Grzegorzek <dominik.grzegorzek@intel.com> | 2020-10-27 10:23:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-19 18:50:21 +0000 |
commit | 7097d7f0de072b763d885c3f9d96ac2e637aca4d (patch) | |
tree | d35df89c197c00cb864eb46c611bf2f07f130983 /tests | |
parent | d9f719bb5e072819730ecfb6b1bbc87ef7e224bf (diff) |
tests/kms_psr2_su.c: Get rid of unused bufmgr
Removal of bufmgr that was only set but not used.
Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Zbigniew KempczyĆski <zbigniew.kempczynski@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_psr2_su.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/kms_psr2_su.c b/tests/kms_psr2_su.c index d549d9a3..9215c59d 100644 --- a/tests/kms_psr2_su.c +++ b/tests/kms_psr2_su.c @@ -30,7 +30,6 @@ #include <stdio.h> #include <string.h> #include <sys/timerfd.h> -#include "intel_bufmgr.h" IGT_TEST_DESCRIPTION("Test PSR2 selective update"); @@ -65,7 +64,6 @@ typedef struct { int drm_fd; int debugfs_fd; igt_display_t display; - drm_intel_bufmgr *bufmgr; drmModeModeInfo *mode; igt_output_t *output; struct igt_fb fb[2]; @@ -247,10 +245,6 @@ igt_main data.debugfs_fd, PSR_MODE_2), "Sink does not support PSR2\n"); - data.bufmgr = drm_intel_bufmgr_gem_init(data.drm_fd, 4096); - igt_assert(data.bufmgr); - drm_intel_bufmgr_gem_enable_reuse(data.bufmgr); - display_init(&data); /* Test if PSR2 can be enabled */ @@ -287,7 +281,6 @@ igt_main igt_fixture { close(data.debugfs_fd); - drm_intel_bufmgr_destroy(data.bufmgr); display_fini(&data); } } |