Commit bff5eca4 authored by Chris Wilson's avatar Chris Wilson 🤔

sna: Scale cpp by 8 for bit depth

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111916
Fixes: 1804eacc ("sna: Add sna_br13_color_depth()")
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent c6cb1b19
......@@ -465,7 +465,7 @@ fallback:
}
br13 = 0xcc << 16;
br13 |= sna_br13_color_depth(cpp * 4);
br13 |= sna_br13_color_depth(cpp * 8);
if (cpp == 4)
cmd |= BLT_WRITE_ALPHA | BLT_WRITE_RGB;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment