summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-05 17:07:06 (GMT)
committerEric Anholt <eric@anholt.net>2009-09-06 18:29:06 (GMT)
commit0ef82af7253c1929a3995f271b8b0db462d1a0c3 (patch)
treefb34eee409dffa5bfef725b00d38d6d54b8d31c8 /drivers/gpu/drm/Kconfig
parent5e17ee74b541b56b5d4cfab6502a5116f224e32c (diff)
downloadlinux-fsl-qoriq-0ef82af7253c1929a3995f271b8b0db462d1a0c3.tar.xz
drm/i915: Pad ringbuffer with NOOPs before wrapping
According to the docs, the ringbuffer is not allowed to wrap in the middle of an instruction. G45 PRM, Vol 1b, p101: While the “free space” wrap may allow commands to be wrapped around the end of the Ring Buffer, the wrap should only occur between commands. Padding (with NOP) may be required to follow this restriction. Do as commanded. [Having seen bug reports where there is evidence of split commands, but apparently the GPU has continued on merrily before a bizarre and untimely death, this may or may not fix a few random hangs.] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> CC: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
0 files changed, 0 insertions, 0 deletions