]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: GFX_MODE Flush TLB Invalidate Mode must be '1' for scanline waits
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 Jan 2013 16:33:32 +0000 (16:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:27:01 +0000 (18:27 -0600)
commit36ce28cb51131636255b03c6ca3fc785f2cd3d84
treeaf44c39e362342b0404a651fc01d2f8458532d8a
parent924782ca0427bc09e9ad5cc282fbd11588996626
drm/i915: GFX_MODE Flush TLB Invalidate Mode must be '1' for scanline waits

commit f05bb0c7b624252a5e768287e340e8e45df96e42 upstream.

On SNB, if bit 13 of GFX_MODE, Flush TLB Invalidate Mode, is not set to 1,
the hardware can not program the scanline values. Those scanline values
then control when the signal is sent from the display engine to the render
ring for MI_WAIT_FOR_EVENTs. Note setting this bit means that TLB
invalidations must be performed explicitly through the appropriate bits
being set in PIPE_CONTROL.

References: https://bugzilla.kernel.org/show_bug.cgi?id=52311
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_ringbuffer.c