]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add comments to explain the BSD tail write workaround
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jul 2012 16:14:01 +0000 (17:14 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:37 +0000 (12:21 +0200)
commit705dfb325cccd39e3d3d72c22fd0bdf1c3caa636
tree154db5ac0bc118101c97404d658c2827f004cfcd
parent7cd19bc2b8409b79ef348b7c98fda1c916ec49ed
drm/i915: Add comments to explain the BSD tail write workaround

Having had to dive into the bspec to understand what each stage of the
workaround meant, and how that the ring broadcasting IDLE corresponded
with the GT powering down the ring (i.e. rc6) add comments to aide
the next reader.

And since the register "is used to control all aspects of PSMI and power
saving functions" that makes it quite interesting to inspect with
regards to RC6 hangs, so add it to the error-state.

v2: Rediscover the piece of magic, set the RNCID to 0 before waiting for
the ring to wake up.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c