drm/i915: Don't save/restore RS when not used
authorBen Widawsky <benjamin.widawsky@intel.com>
Mon, 18 Aug 2014 17:35:28 +0000 (10:35 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:03:53 +0000 (11:03 +0200)
commite80f14b6d36e3e07111cf2ab084ef8dd5d015ce2
tree081d67061d2d225af4595f19bff00b321b9bbc59
parent98a2e5f94275b6aafb12a3650937f6c54222cdc2
drm/i915: Don't save/restore RS when not used

v2: fix conflict on rebase.

Cc: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c