Commit Graph

9 Commits

Author SHA1 Message Date
Chris Wilson 4712a4008a shadow 2012-06-04 12:40:56 +01:00
Chris Wilson 63a55e9db9 uxa/shadow: Free the buffer along the unexpected failure to attach to the pixmap
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-06-04 12:36:11 +01:00
Chris Wilson 15a150579c intel: Trivially remove a piece of XAA dependency for shadow
The wolves are gathering at the door baying for the removal of XAA from
Xorg.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-01-18 10:27:17 +00:00
Chris Wilson 0bb135c40e Disable BLT for i830 and 845G
This pair of chipsets seem broken beyond repair, specifically the
erratum that causes the wrong PTE entry to be invalidated, so disable
our incorrect attempts to use the BLT on those devices.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-23 22:29:52 +00:00
Chris Wilson 4083197a44 Include a chipset generation number to clarify device specific paths.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-07 13:26:07 +01:00
Chris Wilson 4bf2182bf9 shadow: Use a cacheable shadow for all generations
Always avoid direct rendering to the uncached scanout buffer,
redirecting all 2D access to the shadow instead. Then for the couple of
platforms where either the BLT is not ready or cannot be trusted (i8xx)
perform the front buffer fixup using the uncached writes from the CPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-05 09:59:04 +01:00
Chris Wilson 3e641459f8 shadow: Disable BLT for SandyBridge
The blitting code is incorrect for SandyBridge so disable until
the BLT ring is ready.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-04 20:31:01 +01:00
Chris Wilson 16a5d0ee3c shadow: Map the scanout directly on i8xx
Even with the minimal use of the BLT to copy from the GTT shadow to the
GTT scanout, i830 was still hanging. Just write to the scanout directly.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-04 11:21:17 +01:00
Chris Wilson 516d235c5b Split shadow handling routines to their own file.
This is about to get messy, so separate out the shadow from the normal
code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-04 11:10:57 +01:00