diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-02 09:06:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-02 13:03:26 +0100 |
commit | 1f6dfc9df6780bd3768bf065156b6e8dae05b80c (patch) | |
tree | a8826a476f5a257039059dbf30e9b82f8658a94b /src/i915_pciids.h | |
parent | 49daf5df124b5ae6c7508e934768c292f4143040 (diff) |
sna: Only flush GPU bo for a damage event
Based on xf86-video-ati
commit 9a1afbf61fbb2827c86bd86d295fa0848980d60b
Author: Michel Dänzer <michel.daenzer@amd.com>
Date: Mon Jul 11 12:22:09 2016 +0900
Use EventCallback to avoid flushing every time in the FlushCallback
reports seeing an improvement in reducing flushes at the expense of
checking every event for a DamageNotifyEvent. Since we also mix
rendering with SHM buffers, we have a more diverse set of conditions
under which to flush - but maybe we will see enough of a win for DRI to
merit. So far seeing improvement of ~20% for series of small operations
under the compositor without seeing any regressions, should benefit
composited desktop users. The biggest danger here is missed flushes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_pciids.h')
0 files changed, 0 insertions, 0 deletions