summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-31sna: Add an option to disable the delayed flushChris Wilson
Section "Device" Option "DelayedFlush" "False" EndSection Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Report whether anything was retired to the inactive listChris Wilson
So that we can skip a fresh search of the inactive list if nothing changed. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Stash the last scratch pixmapChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Correct PolyRectangle verticals to be the end-point not the lengthChris Wilson
Fixes an off-by-one in the drawing of the rectangles caused by a too-literal translation of the rectangles into boxes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30uxa/glyphs: Fallback rather than fail to render with a non-solid SourceChris Wilson
Reported-by: Uli Schlachter <psychon@znc.in> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31819 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Loop over all clip rects for glyph blt rather than fallbackChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Don't mess with NDEBUGChris Wilson
This is set in configure and redefining it later inside the C files just leads to trouble and broken compilation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30configure: Bump version to 2.16.9012.16.901Chris Wilson
2011-10-30NEWS: Add release notes for 2.16.901Chris Wilson
2011-10-30i810: kill mmio vga access helpersDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-30i810: use vgahw functions instead of roll-your-ownDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-30i810: rip out PIO access functionsDaniel Vetter
All the io done at init time is already converted to libpciaccess Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-30i810: kill dead i830 definesDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-30sna: Convert PolyRectangles to use Box32Chris Wilson
For the same overflow protection. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Fix compilationChris Wilson
Remember to drink coffee and compile "obvious" fixes before pushing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Rewrite box32_add_rect() to enable int32_t promotionChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30sna: Push overflow detection to the end of extentsChris Wilson
Removes a couple of conditionals from the middle of the hotpath and on Intel we are not realising the benefit of only utilising 16-bit values. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-30Revert "sna: Don't flush the render caches if in the process of writing again"Chris Wilson
This reverts commit 15266e1b9500f6b348661c60d1982bde911f2d0e. KDE relies upon the ability to render into a sampler and then render upon itself. Not the first sign of madness... Will have to find another way of winning back the compwinwin performance.
2011-10-30sna/composite: Fix incorrect operator reduction for RenderFillRectanglesChris Wilson
As exemplified by KDE (using Kate) on gen3, it would attempt to render a large set of boxes using OVER and a transparent colour. As gen3 copied across some of the BLT assumptions, it was incorrectly reducing that to a CLEAR and thus rendering incorrectly. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29Use malloc/calloc/realloc/free directlyJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29sna/gen3: Set the src flags for fillChris Wilson
A regression from c2040fb8e62076d87f7a5b407505ee3f3482945e (sna: Remove the memset(0) of the fill op) left the flags for the source channel uninitalised leaving the shader construction undefined and causing visual glitches. Reported-by: Paul Neumann <paul104x@yahoo.de> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42367 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29sna/genX: Improve reduction of Render operator to BLT aluChris Wilson
This appeared to introduce a visual gitch into the xfce4 selection box on gen6 at least. References: https://bugs.freedesktop.org/show_bug.cgi?id=42367 Reported-by: Paul Neumann <paul104x@yahoo.de> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29sna: Tweak PolyRectangle blittingChris Wilson
A box of height/width 1 and lineWidth 0 can also be drawn with a single box as the far edge is contiguous with far side of the near edge. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29sna: Further clipping bugsChris Wilson
Make sure the line is clipped to the current clip box and discard if the clip is reduced to nothing. References: https://bugs.freedesktop.org/show_bug.cgi?id=42361 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29sna: Increment clip box when short-circuiting the iterationChris Wilson
Reported-by: nkalkhof@web.de Bugzilla: https://bugs.freedesktop.org/show_bug.cgi Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-29sna: Retire and search inactive again before creating new bufferChris Wilson
Attempt to retire an active buffer into the inactive cache before giving up and creating a new buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Don't flush the render caches if in the process of writing againChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Faster unclipped rectilinear segmentsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Call miZeroArcLine where appropriate for GPU pathsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Faster unclipped PolyFillRectChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Faster unclipped PolyPointChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Call directly into tiled rects for tiled spans.Chris Wilson
As we already know the extents and that this is a candidate for GPU-acceleration, we can skip over those steps and emit the tiled rects. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-28sna: Faster unclipped spansChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna/gen2: Reset BLT registers across 2D/3D context switchesChris Wilson
It appears the hardware trashes the BLT registers after a 3D context switch, so we need to reload. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Fast path typically unclipped tiled rectsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Use private identifier for internal scratch pixmapsChris Wilson
This was meant to be a part of the previous commit. These are the scratch pixmaps for which we truly do want to allocate GPU-only. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Create scratch pixmap on the CPUChris Wilson
Contrary to earlier belief, the only usage of CREATE_PIXMAP_USAGE_SCRATCH in the dix/mi are either along paths unused by us or more importantly for operations which are detrimental to create GPU-only buffers. So create CPU pixmaps instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Tweak zero line spans to include missing last segmentChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Fix advance through clip boxes for fill->boxesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Fix PolyPoint not to always send 512 boxesChris Wilson
Just emit the remaining boxes! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Use fill->boxes to pack PolyFillRectangleChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Use fill->boxes for rectilinear blitsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Clip PolyLines to the current clip boxChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Handle singular clip regions for PolyRectanglesChris Wilson
Otherwise X will crash! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna/io: Update batch mode after submitting partial requestsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Further improve use of fill->boxes for PolyRectangleChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna/blt: After submitting the batch, it will be emptyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna/blt: Convert Copy with color 0 into a ClearChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna: Suppress an overwritten fillChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-10-27sna/gen2: Cache the last solid colour for spansChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>