Skip to content
Unverified Commit c0169f2c authored by Florian Wesch's avatar Florian Wesch Committed by GitHub
Browse files

vc4/hvs: Fix lbm size calculation for yuv (#6012)

The code was reducing the number of components by one when we were not
blending with alpha. But that only makes sense if the components include
alpha.

For YUV, we were reducing the number of components for Y from one to zero
which resulted in no lbm space being allocated.

Fixes: https://github.com/raspberrypi/linux/issues/5912



Signed-off-by: default avatarDom Cobley <popcornmix@gmail.com>
Co-authored-by: default avatarDom Cobley <popcornmix@gmail.com>
parent 14c373b0
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