Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2024
Merged

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

merged 1 commit into from
Mar 5, 2024

Conversation

dividuum
Copy link

@dividuum dividuum commented Mar 5, 2024

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: #5912

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: #5912
Signed-off-by: Dom Cobley <[email protected]>
@popcornmix
Copy link
Collaborator

We're not anticipating any more 6.1 kernel builds (the next apt kernel update will be 6.6), so this branch is somewhat dead now.

Do you have a reason why this is needed on 6.1, where moving to 6.6 is not wanted?
It should be harmless to merge - but just checking if this is actually useful.

@dividuum
Copy link
Author

dividuum commented Mar 5, 2024

Main reason is the fact that I already did quite a bit of testing with the 6.1 kernel for my software as well as the upcoming GPIO sysfs change I thought was part of that update. But I just realized that this isn't the case and I might just see if 6.6 is something I can use in the near future as well. Still having that fix in 6.1 would make it easier now, so I can defer the kernel update to my next release.

@popcornmix popcornmix merged commit c0169f2 into raspberrypi:rpi-6.1.y Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visual artifacts when placing transparent planes across multiple CRTCs on Pi5
2 participants