drm/i915: Enable Resource Streamer state save/restore on MI_SET_CONTEXT
authorAbdiel Janulgue <abdiel.janulgue@linux.intel.com>
Tue, 16 Jun 2015 10:39:41 +0000 (13:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 08:26:05 +0000 (10:26 +0200)
commit4c436d55b279bbc6b02aac02e7dc683fc09f884e
tree83dc61c55e901888e3de5ffe52754ced64a1f71f
parent919032ec7c758fd4d65f2a141d1e0a10152198c9
drm/i915: Enable Resource Streamer state save/restore on MI_SET_CONTEXT

Also clarify comments on context size that the extra state for
Resource Streamer is included.

v2: Don't remove the extended save/restore enabled for older
    platforms. (Ville)
    Use new MI_SET_CONTEXT defines for HSW RS save/restore state
    instead of extended save/restore. (Daniel)

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_reg.h