cairo_dri: check for 1080p mode if primary mode is 2160p
For displays where the primary mode is 2160p, check to see
if a 1080p mode exists, and if so, use it. This allows laptops
with native 4K panels to specify a 1080p video mode via kernel
command line and have fbwhiptail use that vs native resolution.
Test: boot Librem 15v4 with kernel param 'video=eDP-1:1920x1080'
Signed-off-by:
Matt DeVillier <matt.devillier@puri.sm>
Showing
Please register or sign in to comment