drm/i915: Move the ban period onto the context
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Dec 2014 16:13:39 +0000 (08:13 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 Jan 2015 13:20:20 +0000 (14:20 +0100)
commit676fa5721c2eece4b27ac9be0cdb11c37de0a034
treedefc052c9ff5c7d7a4ae3f573ba11bf1c7ffa130
parent9025452366e9a86f2e11292865d98430341005d1
drm/i915: Move the ban period onto the context

This will allow us to set per-file, or even per-context, periods in the
future.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c