drm/i915/bdw: GEN-specific logical ring init
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:24 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 15:03:28 +0000 (17:03 +0200)
commit9b1136d505b1de5478e11b59ca59cf8ce2a33217
tree5a8275267b643ed3b4628c6bf0069c677899a771
parent48d823878d64f93163f5a949623346748bbce1b4
drm/i915/bdw: GEN-specific logical ring init

Logical rings do not need most of the initialization their
legacy ringbuffer counterparts do: we just need the pipe
control object for the render ring, enable Execlists on the
hardware and a few workarounds.

v2: Squash with: "drm/i915: Extract pipe control fini & make
init outside accesible".

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Make checkpatch happy.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h