linux
linux copied to clipboard
drm/vc4: Correct buffer address on async commit when vertically flipped
The buffer address needs to be for the last line of the image if vertically flipped. The main commit code was handling this, but the async path wasn't.
https://github.com/raspberrypi/firmware/issues/1851
Need to test on a Pi5 before merging, hence draft.
Ideally all the address fixups (eg source cropping) for the commit should apply to async path too, but that's pretty rare.
Confirmed to work on Pi5 too (it was also broken before).