[Bug 111916] xf86-video-intel - Scrambled (text, graphics) of menu and text area in Libreoffice.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 7 13:13:51 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111916
--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/src/sna/sna_io.c b/src/sna/sna_io.c
index d32bd583f..d03280edb 100644
--- a/src/sna/sna_io.c
+++ b/src/sna/sna_io.c
@@ -465,13 +465,9 @@ fallback:
}
br13 = 0xcc << 16;
- switch (cpp) {
- default:
- case 4: cmd |= BLT_WRITE_ALPHA | BLT_WRITE_RGB;
- br13 |= 1 << 25; /* RGB8888 */
- case 2: br13 |= 1 << 24; /* RGB565 */
- case 1: break;
- }
+ br13 |= sna_br13_color_depth(cpp * 4);
+ if (cpp == 4)
+ cmd |= BLT_WRITE_ALPHA | BLT_WRITE_RGB;
This chunk, I guess. That cpp*4 should be cpp*8.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20191007/3bfda596/attachment.html>
More information about the intel-gfx-bugs
mailing list