raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
10.8k stars 4.84k forks source link

DRAFT: drm: rp1: rp1-vec: Add a parameter to set DRM picture aspect ratio #6166

Open njhollinghurst opened 2 weeks ago

njhollinghurst commented 2 weeks ago

Experimentally, allow setting picture_aspect_ratio field in all advertised DRM modes. This has no other effect on VEC's behaviour (and perhaps has no useful effects at all...)

It is set via a module parameter drm-rp1-vec.par which can be set from the command line, or later using sysfs. A value of 1 means 4:3, 2 means 16:9.