linux icon indicating copy to clipboard operation
linux copied to clipboard

drm/vc4: Add support for a custom background colour

Open 6by9 opened this issue 4 months ago • 3 comments

Upstream proposed series https://lore.kernel.org/dri-devel/[email protected]/ plus 2 commits implementing it for vc4.

I have deliberately ignored the upstream macros for extracting the colour components as they look suspect and have been queried upstream.

Tested and working on Pi4 and Pi5 C1. Pi5 D0 has a slightly different code path, and I'll try and dig out the relevant hardware. The code follows the docs though.

@cillian64 @jc-kynesim

6by9 avatar Sep 02 '25 15:09 6by9

I like it :-)

jc-kynesim avatar Sep 02 '25 16:09 jc-kynesim

Added a patch to increase the timeout to the workflow "install toolchain" step as it appears to be failing regularly. Hopefully that'll get it through.

6by9 avatar Sep 02 '25 17:09 6by9

Upstream appear to be having some debate over this as to how it should be implemented, and referencing to previous attempts that caused discussion over 16bit precision or float and ranges for the parameter.

Whilst we may decide to merge this anyway if it can help us, I've converted it to draft to remind us to see what happens in those discussions.

6by9 avatar Sep 03 '25 10:09 6by9