drm/i915: Enable resource streamer on Execlists
authorAbdiel Janulgue <abdiel.janulgue@linux.intel.com>
Tue, 16 Jun 2015 10:39:42 +0000 (13:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 08:26:13 +0000 (10:26 +0200)
commit6922528a04a810b2889e82a4dc17eab920379117
tree21be41faa6e6516a82a93c3fd07fed08882512d6
parent4c436d55b279bbc6b02aac02e7dc683fc09f884e
drm/i915: Enable resource streamer on Execlists

GEN8 and above uses Execlists by default instead of the legacy
ringbuffer for batch execution. This patch enables the resource
streamer bits when required.

Patch is based on the initial work by Minu Mathai <minu.mathai@intel.com>
This version also adds the required bits to enable GEN8 Resource
Streamer context save and restore for Execlists.

Cc: ville.syrjala@linux.intel.com
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h