dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Display notch support
@ 2021-04-27 20:47 Caleb Connolly
  2021-04-28  7:21 ` Simon Ser
  0 siblings, 1 reply; 7+ messages in thread
From: Caleb Connolly @ 2021-04-27 20:47 UTC (permalink / raw)
  To: dri-devel; +Cc: martijn, dri-devel, ~postmarketos/upstreaming

With many more non-desktop form factor devices landing in the kernel, 
we're starting to run up against some limitations. Notably devices with 
display notches, cutouts and rounded corners.

Given that the DRI subsystem already deals with physical display 
properties like panel orientation which is fixed in device tree, it 
would make sense to also define other properties like parts of the 
display which are obscured there too. This can then be read by desktop 
environments and UI elements can be suitably adjusted.

Android already deals with non-square displays, however they also keep 
the device configuration in userspace: 
https://developer.android.com/guide/topics/display-cutout

A solution to make this configuration generic and exposed by the kernel 
would standardise this across Linux and potentially Android too which 
would be extremely beneficial to the mobile Linux community at large.

Does this seem like a feasible solution to solving the notch problem and 
avoiding a situation where every compositor have their own method of 
describing cutouts and rounded corners?

Regards,

Caleb



_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-03 12:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 20:47 Display notch support Caleb Connolly
2021-04-28  7:21 ` Simon Ser
2021-04-28  7:44   ` Pekka Paalanen
2021-04-28  7:51     ` Simon Ser
2021-04-28 12:01     ` Daniel Vetter
2021-04-28 12:18       ` Jani Nikula
2021-05-03 12:13   ` Caleb Connolly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).