summaryrefslogtreecommitdiff
path: root/lib/stubs/drm/intel_bufmgr.c
AgeCommit message (Collapse)Author
2016-12-23stubs/intel_bufmgr: Suppress GCC compilation warningsChris Wilson
GCC likes to complain that every function here dies in an assert and doesn't return, which is very true but not one we wish to optimise for. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-12-16stubs/drm: Add drm_intel_gem_context_get_id stubRobert Bragg
The plan is to use this api in i915-perf tests so this adds the corresponding stub in case libdrm was built with libdrm_intel disabled. Signed-off-by: Robert Bragg <robert@sixbynine.org> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
2016-08-04lib/stubs: Add stubs for intel_bufmgrRobert Foss
This patch provides stubs for functionality otherwise provided by intel_bufmgr. The stubbed functions all fail with a call to igt_require_f(false,""). Defines and enums have been copied from libdrm_intel. Due to the stubbed tests failing with an igt_require_f() call, these stubs are not well suited for non-tests, since tools/benchmarks/etc 'skipping' execution is unhelpful. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>