summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-202.20.19 release2.20.19Chris Wilson
2013-01-20test: Add script to generate source file for testing vsyncChris Wilson
Courtesy of an original script by Mark Schreiber, https://bugs.freedesktop.org/show_bug.cgi?id=59606
2013-01-20sna: Make DEBUG_SYNC a configure optionChris Wilson
As it is advisable to combined the synchronous rendering debug option with other debugging options, it is more convenient to make it into a configure option: --enable-debug=sync Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-20sna: Apply DEBUG_SYNC prior to emitting error reportChris Wilson
This is handy for the case where the batch triggers a GPU hang rather than being rejected by the kernel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-18sna: Clear the non-intersecting damage after skipping the slave updateChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-18uxa: Clip dirty region to slave pixmap before appending damageChris Wilson
Fixes regression from commit c789d06cf8a0debc67058d7be1483f5b542e2baa Author: Dave Airlie <airlied@redhat.com> Date: Mon Jan 7 13:57:21 2013 +1000 intel: fixup damage posting to be done correctly around slave pixmap which causes the entire slave scanout to be readback from uncached memory every time a pixel is modified. Reported-by: Stephen Liang <inteldriver@angrywalls.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59539 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-18sna: Replace double negative '!RegionNotEmpty' with the equivalent RegionNilChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-18sna: Skip an empty slave updateChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-18sna: Remove bogus assertion invalidated by 'read-read' syncChris Wilson
If we perform a read-read synchronisation, the kernel may still believe that the bo is busy as it remains on the active lists being read by the GPU. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna/dri: Explicitly flag sync copies for the backendsChris Wilson
As gen6/7 need to prevent ring switching and perform a rendercopy if we need to perform a vsync'ed copy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna/trapezoids: Fix horizontal offset for inplace operationChris Wilson
Remember that for an inplace operation we are not dealing with an a8 mask, but rather a x8r8g8b8 surface and so need to step accordingly. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna: Drop the MOVE_WHOLE_HINT for PutImageChris Wilson
It is not as clearly beneficial as for GetImage, as for example toolkits may only push the shadows around a window. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna: Apply read-only synchronization hints for move-to-cpuChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna: Remove the confusion of the pixmap->undamagedChris Wilson
This was to track a pixmap that had been used for migration (i.e had in the past been used for mixed rendering). It is no longer used so remove it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna: Consider fill style for XPolyRectangleChris Wilson
The rectangle outline is not always solid... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-17sna: Refactor to remove a goto from sna_put_zpixmap_blt()Chris Wilson
The complexity of the function has been moved to move-to-cpu so we can take further advantage of the simplified logic in put_zpixmap to clean up the code by removing an unwanted goto. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16autogen.sh: Implement GNOME Build APIColin Walters
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16configure: Drop AM_MAINTAINER_MODEAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-162.20.18 release2.20.18Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Restrict upload buffers to reduce sampler TLB missesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Correct DBG to refer to the actual tiling mode forcedChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Discard the batch if we are discarding the only buffer in itChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Fix computation of large object sizes to prevent overflowChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Add DBG for when we add the inplace hintChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-16sna: Revert use of a separate CAN_CREATE_SMALL flagChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Avoid serialising on an move-to-cpu for an async operationChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Assert that we never try to mix INPLACE / ASYNC hints for move-to-cpuChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Specialise sna_get_image_blt for clears to avoid sync readbackChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna/trapezoids: Avoid the multiply for an opaque sourceChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Add DBG to use_shm_bo()Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Hint that a copy from a SHM bo will likely be the last in a batchChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Pass the async hint for the upload into the GPUChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Free the SHM pixmaps after b266ae6f6fChris Wilson
Since b266ae6f6f protected the static allocations from being reaped in the normal course of events, we need to penetrate those defenses in order to finally free the SHM mappings. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Mark uploads with async hints when appropriateChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-15sna: Avoid allocating an active CPU bo unnecessarilyChris Wilson
If we will not write back the GPU damage to the bo as we intend to overwrite it for the next operation, we can forgo allocating the active CPU bo and skip the synchronisation overhead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-14sna: Tweak considering of last-cpu placement for inplace regionsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-14sna: Limit temporary userptr uploads to large busy targets or LLC machinesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-14sna: Apply PutImage optimisations to move-to-cpuChris Wilson
We can replace the custom heuristics for PutImage by applying them to the common path, where hopefully they are equally valid. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-14sna: Use userptr to accelerate GetImageChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Initialize src_bo to detect allocation failureChris Wilson
sna_accel.c: In function 'sna_put_image': sna_accel.c:3730:18: warning: 'src_bo' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Check size against aperture before attempting to perform the GTT mappingChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Add a compile flag for measuring impact of userptr uploadsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Use the pixmap size (not drawable) to determine replacementChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Allow large image uploads to utilize temporary mappingsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Allow creation of a CPU map for pixmaps if neededChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Relax limitation on not mapping GPU bo with shadow pointersChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-13sna: Correct a few assertions after enabling read-only mappingsChris Wilson
As these do not flush the active state if we have read-read mappings, we need to be careful with our asserts concerning the busy flag. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-12sna: Experiment with a CPU mapping for certain fallbacksChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-12sna: Tweak max object sizes to take account of aperture restrictionsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-12sna: After a size check, double check the batch before flushingChris Wilson
As we may fail the size check with an empty batch and a pair of large bo, we need to check before submitting that batch in order to not run afoul of our internal sanity checks. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>