Hi Ard

Am 27.08.26 um 18:56 schrieb Ard Biesheuvel:
Hello Thomas,

On Thu, 27 Aug 2026, at 16:01, Thomas Zimmermann wrote:
The kernel mis-interprets the display geometry given by the Lenovo
D330 as incorrect. The values are correct, but the display output
is rotated by 90°. With the kernel's firmware quirk applied the output
is garbled.

Remove the firmware quirk for the Lenovo D330 and let DRM's sysfb
drivers set the correct panel orientation instead. To make this work
for any display mode, use the panel size for looking up the correct
orientation.

Tested on a Lenovo D330-10IGM IdeaPad.

Thomas Zimmermann (3):
   drm/edid: Add drm_edid_get_preferred_size()
   drm/sysfb: Use preferred panel size for panel orientation quirks
   firmware/sysfb: Remove rotation quirk for Lenovo D330

Acked-by: Ard Biesheuvel <[email protected]>

The Sashiko bot warns that the quirk is required on the device's older UEFI firmware revisions.  I can confirm that the quirk breaks display output for the latest firmware (ver 8NCN43WW).  How is this usually being handled? Can I expect affected users to update their firmware?

Best regards
Thomas


--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, (HRB 36809, AG Nürnberg)


Reply via email to