linux icon indicating copy to clipboard operation
linux copied to clipboard

drm/vc4: Allow option to transpose the output on the writeback connector

Open 6by9 opened this issue 1 year ago • 1 comments

The hardware behind the writeback connector can do a transpose as it writes the image out. DRM offers no mechanism to select that, but as a simple test we can note when the width/height of the buffer are swapped wrt the mode, and enable the transpose. The atomic_check obviously has to be updated too to permit that combination.

Transposing a square output buffer is left as future problem to solve.

6by9 avatar Aug 14 '24 15:08 6by9

@jc-kynesim PR updated. It also includes all the other pending DRM tweaks that are kicking around for you/DT.

6by9 avatar Oct 22 '24 16:10 6by9

JC has said he's happy with this, so drop the draft tag.

The checkpatch complaint on spaces before tabs is deliberate as it matches all the other comments in that block.

Branch rebased.

6by9 avatar Nov 06 '24 19:11 6by9