sna: Scale cpp by 8 for bit depth
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111916
Fixes: 1804eacc85 ("sna: Add sna_br13_color_depth()")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c6cb1b1995
commit
bff5eca49b
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue