diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-05-20 18:36:17 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-05-20 18:36:17 -0400 |
commit | 08ef36dc6766080f173ae2b7e660b3182cab9f2d (patch) | |
tree | 4cbbd5272c154a659d4b2604b3bde0cee6617b7f | |
parent | 278ad73475bd137eac8a49ec7a22406bfc2867e7 (diff) |
older hardware prefers copy to clear, so use that
Doing a solid copy of 0, or a clear, has the same effect. This is a
partial revert of commit 5439a9905eab8c. Pre-nv50 hardware succeeds with
copies more often.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 2ca1dba..2bb9077 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -410,7 +410,7 @@ drmmode_fbcon_copy(ScreenPtr pScreen) fallback: if (pdpix) { - if (exa->PrepareSolid(pdpix, GXclear, ~0, 0)) { + if (exa->PrepareSolid(pdpix, GXcopy, ~0, 0)) { exa->Solid(pdpix, 0, 0, w, h); exa->DoneSolid(pdpix); PUSH_KICK(pNv->pushbuf); |