Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/vc4: Set TV margins on the composite connector state
The Raspberry Pi bootloader can pass a set of margin values to the kernel cmdline as part of the video= option. These should result in black borders on the output to compensate for TVs where the visible area on the screen is smaller than the full extents of the video image. With the VC4 driver this currently works on an HDMI connector, but not on a composite video connector. The TV margins from the kernel cmdline are available in the drm_cmdline_mode structure of the composite video connector. Apply them to the connector state in the connector reset function. This is how it is implemented for the VC4 HDMI connector. Signed-off-by: Michael Büchler <[email protected]>
- Loading branch information