drm/i915: use PIPE_CONTROL instruction on Ironlake and Sandy Bridge
commit e552eb70 upstream. Since 965, the hardware has supported the PIPE_CONTROL command, which provides fine grained GPU cache flushing control. On recent chipsets, this instruction is required for reliable interrupt and sequence number reporting in the driver. So add support for this instruction, including workarounds, on Ironlake and Sandy Bridge hardware. https://bugs.freedesktop.org/show_bug.cgi?id=27108 Signed-off-by:Jesse Barnes <jbarnes@virtuousgeek.org> Tested-by:
Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/gpu/drm/i915/i915_drv.h 4 additions, 0 deletionsdrivers/gpu/drm/i915/i915_drv.h
- drivers/gpu/drm/i915/i915_gem.c 133 additions, 12 deletionsdrivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/i915/i915_irq.c 4 additions, 4 deletionsdrivers/gpu/drm/i915/i915_irq.c
- drivers/gpu/drm/i915/i915_reg.h 11 additions, 0 deletionsdrivers/gpu/drm/i915/i915_reg.h
Loading
Please register or sign in to comment