summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorVivek Kasireddy <vivek.kasireddy@intel.com>2015-11-04 16:10:15 -0800
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2015-11-17 14:34:51 +0000
commit938b9306be240ada0e592f2bf59f428c6e0e5717 (patch)
tree2daecf7f833e926ab5e08aba765c8fa6f62ffa27 /overlay
parent92a803ffb0c8a3e68dc8bac207c34a4ed78b724f (diff)
igt/kms_rotation_crc: Add a new subtest to exhaustively test for fence leaks (v3)
In this subtest, as a first step, MAX_FENCES+1 number of framebuffers are created backed up by objects that have multiple GGTT views (normal and rotated). Next, we have the i915 driver instantiate a normal view followed by a rotated view. We continue doing the above MAX_FENCES + 1 times. v2: - Add a igt_require() to check if there is enough GTT space left for MAX_FENCES+1 framebuffers. (Tvrtko) - Make data2 local to test_plane_rotation_exhaust_fences(). (Tvrtko) - If there is a failure, deallocate all the previously allocated framebuffers before asserting. v3: Close the gem handle if set_tiling or addfb fails. (Tvrtko) Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'overlay')
0 files changed, 0 insertions, 0 deletions