summaryrefslogtreecommitdiff
path: root/tests/gem_exec_params.c
AgeCommit message (Collapse)Author
2015-07-06tests/gem_exec_params: check invalid flags for Resource StreamerAbdiel Janulgue
Make sure resource streamer flags works only in correct ring in addition to checking next flag after the RS boundary fails. v2: Make sure we reject RS on pre-hsw. v3: Don't skip 1<<15 for the exec flags (Jani Nikula) Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-01-22tests/gem_exec_params: check the invalid flags for dual bsd ringZhipeng Gong
v2: add more tests to address Daniel's comments(Zhipeng) Signed-off-by: Zhipeng Gong <zhipeng.gong@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-08-29igt: Prettify igt_assert_eq() failure messagesChris Wilson
This just improves the language about the exact failure to reduce confusion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-28tests/gem_exec_params: One more invalid ring testsDaniel Vetter
With the vebox 2 patches the number of internal rings don't match the number of exposed rings. So add another subtest with an invalid ring which should be invalid both internally and externally. The bug this will catch is using the ring structure before validation, which the old "invalide-ring" wont be able to due to the internal vebox2 ring. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-24tests/gem_exec_params: Fix rel-constants-invalid subtestDaniel Vetter
Reported by Ville and Zhao Yakui. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-24tests: Add gem_exec_paramsDaniel Vetter
This fills all the gaps we've had in our execbuf testing. Overflow testing of the various arrays is already done by gem_reloc_overflow. Also add kms_flip_tiling to .gitignore. This will cause a bunch of failures since current kernels don't catch all fallout. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>