summaryrefslogtreecommitdiff
path: root/tests/i915/gem_mmap_gtt.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2019-03-27 12:54:11 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2019-04-15 12:52:17 -0700
commitcf27a37b867bf31dccbe5f1b3bd84a2e606544f0 (patch)
tree99d15f4425f6405a7bcdd3e4aec5260cbc9f7a5c /tests/i915/gem_mmap_gtt.c
parente03b53c67389a0f6896f468f038522ec32c191bc (diff)
tests/fbcon_fbt: Do not keep opening debugfs_fd at every setup_drm() call
As debugfs_fd is used even after the teardown_drm(), it is not closed in this function or in any other place. And then it gets worse as every call to setup_drm() will open another file descriptor to debugfs dir. So lets move the opening of debugfs_fd to setup_environment() and only open it once and close it before leave the test. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tests/i915/gem_mmap_gtt.c')
0 files changed, 0 insertions, 0 deletions