summaryrefslogtreecommitdiff
path: root/tests/gem_exec_alignment.c
AgeCommit message (Collapse)Author
2016-01-26igt/gem_exec_alignment: Actually check aligned locations after manyChris Wilson
As well as ensuring the kernel doesn't simply crash when asked to do lots of objects, check it actually aligns them. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-22igt/gem_exec_alignment: Tweaks count for large alignmentsChris Wilson
We can fit a few more objects in at high alignment, so do so. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-20igt/gem_exec_alignment: Convert to subtestsChris Wilson
Allow both parts (single, many) to be run independently. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-19igt/gem_exec_alignment: Fix off-by-one in evalation of find_last_bit()Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-19igt/gem_exec_alignment: Remember to require 48b objects!Chris Wilson
In order to actually use the high space we need to set the can-use-48bit flag. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-19igt/gem_exec_alignment: Test multiple objects with alignment as wellChris Wilson
Compute the largest alignment for the most number of objects we can create, then trying an execbuf with them. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-01-19igt/gem_exec_alignment: Test all possible pot alignmentsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-09-11convert drm_open_any*() calls to drm_open_driver*(DRIVER_INTEL) calls with cocciMicah Fedke
Apply the new API to all call sites within the test suite using the following semantic patch: // Semantic patch for replacing drm_open_any* with arch-specific drm_open_driver* calls @@ identifier i =~ "\bdrm_open_any\b"; @@ - i() + drm_open_driver(DRIVER_INTEL) @@ identifier i =~ "\bdrm_open_any_master\b"; @@ - i() + drm_open_driver_master(DRIVER_INTEL) @@ identifier i =~ "\bdrm_open_any_render\b"; @@ - i() + drm_open_driver_render(DRIVER_INTEL) @@ identifier i =~ "\b__drm_open_any\b"; @@ - i() + __drm_open_driver(DRIVER_INTEL) Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-08-21lib: add a single include headerThomas Wood
Add a header that includes all the headers for the library. This allows reorganisation of the library without affecting programs using it and also simplifies the headers that need to be included to use the library. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-06-22igt: Add gem_exec_alignmentChris Wilson
Simple test to see whether the kernel obey's the user's request alignemnt. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>