]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bdw: GEN-specific logical ring emit flush
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 24 Jul 2014 16:04:28 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 20:44:37 +0000 (22:44 +0200)
commit34a319f0aa6ee04d4871487097b91d279e77f154
tree8af0b8f48fce7c1b848b13c4d84ee35df0517524
parent4611bfbc55c7ea24a8769486b155c674b2940c2a
drm/i915/bdw: GEN-specific logical ring emit flush

Same as the legacy-style ring->flush.

v2: The BSD invalidate bit still exists in GEN8! Add it for the VCS
rings (but still consolidate the blt and bsd ring flushes into one).
This was noticed by Brad Volkin.

v3: The command for BSD and for other rings is slightly different:
get it exactly the same as in gen6_ring_flush + gen6_bsd_ring_flush

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Checkpatch.]
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