summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-12-01sna/gen5: Inspired by gen4, reorder the flushingChris Wilson
This may not be totally safe, but it is a nicer explanation for random single character corruption. References: https://bugs.freedesktop.org/show_bug.cgi?id=51422 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-12-01sna/dri: Unknown generations are given the max value and presume i965_dri.soChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna/gen6+: Only apply the BLT w/a for self-copiesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna: Unify gen4 acceleration againChris Wilson
After disabling render-to-Y, 965g seems just as happy with the new code paths as g4x. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30Convert generation counter to octalChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna: Prevent gen4 from rendering to I915_TILING_YChris Wilson
It always seems to end up in a hang... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna/g4x: And remove one more flush pointChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna: Increase tiling alignment to an even tileChris Wilson
Seems to help g4x. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna/g4x: Remove the flush before the pipelined pointer changesChris Wilson
This one appears unneeded. Hopefully. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-30sna/g4x: Emit the flush prior to changing pipelined stateChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-28sna/gen6+: Override PTE cacheability bits for readsChris Wilson
This is primarily useful for enabling the render cache for reads from scanouts. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-28sna/gen5+: Disable max-vbo addressChris Wilson
As we do not use this feature, disable it and save the relocation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-27sna/blt: Avoid clobbering common state before converting to a BLTChris Wilson
In case we need to continue on with the render operation, we need to preserve the existing state. Reported-by: Jiri Slaby <jirislaby@gmail.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=57601 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-26sna: Disable shadow tracking upon regenChris Wilson
References: https://bugs.freedesktop.org/show_bug.cgi?id=56608 References: https://bugs.freedesktop.org/show_bug.cgi?id=52255 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-26sna: Use a single execobject flag to mark read/write domainsChris Wilson
Slight modification to the proposed API to only pass the simplified domain tracking now performed by the kernel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-25sna: Exploit the alpha-fixup of the BLT for texture format conversionsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-25sna: Transform a simple repeat pattern into range of the BLTChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-24sna: Make GPU idle more consistent during wakeupChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/g4x: Refine the w/a for the broken sf shaderChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/g4x: Use the render pipeline more often for composite operationsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Revert changes to 965g[m]Chris Wilson
The changes tested on g45/gm45 prove to be highly unstable on 965gm, suggesting a radical difference in the nature of the bugs between the two generations. In theory, g4x has additional features that could be exploited over and above gen4 which may prove interesting in the future. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Don't force a flush for the dirty target if the we do not read backChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Force composite(WHITE, glyph) for building the glyphstring maskChris Wilson
For reasons that are not apparent, if we don't composite with source/mask for the glyph strings, there appears to be some cache corruption. About as bizarre as the rest of gen4 idiosynacracies. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Set composite op before testing for a BLT compatible opChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Pass the mask channel explicitly rather than through a dummy maskChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Reduce the flush before performing the CA passChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Update render fill routines to use the dummy maskChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Move the flush from inside the spans to emit_state()Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Backport the more efficient composite box emittersChris Wilson
Now that we aren't flushing after every single rectangle, we can strive for a little efficiency. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-23sna/gen4: Use a dummy white mask to avoid the flush w/a when compositingChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna/gen3+: Clear the render.vbo when replacing it for vertex uploadChris Wilson
As we may trigger a flush and a retire when searching for a vertex buffer for the new vertices, we need to be careful to decouple the destroyed vbo in order to avoid a use-after-free when inspecting the state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Assert that we do not replace a GPU bo with a proxyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Skip uploading unintialiased pixmap dataChris Wilson
References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Add the missing assertion for !proxyChris Wilson
References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Do not migrate uninitialised pixmapsChris Wilson
Reported-by: Jiri Slaby <jirislaby@gmail.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Do not dispose of a shadow pixmapChris Wilson
Fixes regression from 2249e9edc37811c07e2807d6b4def05585b44c22 Reported-by: Jiri Slaby <jirislaby@gmail.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Remove the kgem_bo_is_mappable refcnt assertion from freed pathsChris Wilson
A few callers of kgem_bo_is_mappable operate on freed bo, and so need to avoid the assert(bo->refcnt). References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Add a few refcnt assertionsChris Wilson
References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Fix bogus assertion from 03fb9ded43Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Dispose of local copy for render sourcesChris Wilson
If we transfer the pixmap to the GPU to use as a render source, presume that we will not need to then touch the local copy (at least for a while) and so return that memory to the system. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-21sna: Tighten a couple of assertions for damage with use_boChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-20sna: Assert that we do not create a proxy with existent GPU damageChris Wilson
References: http://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-20sna/dri: Queue a vblank-continuation after flip-completionChris Wilson
If a vblank request was delayed due to a pending flip, we need to make sure that we then queue it after that flip or else progress ceases. Reported-by: Jiri Slaby <jirislaby@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56423 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57156 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-20sna/dri: Avoid a NULL dereference inside a DBGChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-20uxa: Add printf attribute to intel_debug_fallback().Eric Anholt
Shuts up a bunch of warnings with xorg's shared warning flags, and should give us more informative warnings in our code.
2012-11-20uxa/dri: Factor out the repeated swap fallback code.Eric Anholt
2012-11-20sna/dri: Add an assert that the cached DRI2 buffer is pinned for DRIChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-19sna/dri: Avoid setting off-delay after a failed flip (use-after-free)Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-18sna/gen6+: Tweak prefer-blt to offset latency when in rc6Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-11-18Remove useless indirection of intel_chipsetsChris Wilson
Once upon a time this was used to hide a compiler warning about a pointer mismatch, now the compiler still warns about the cast, making the indirect moot. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>