All of lore.kernel.org
 help / color / mirror / Atom feed
* OLED panel brightness support
@ 2019-07-23 10:46 Kai-Heng Feng
  2019-07-24 11:48 ` Daniel Vetter
  2019-07-29  8:26 ` Jani Nikula
  0 siblings, 2 replies; 11+ messages in thread
From: Kai-Heng Feng @ 2019-07-23 10:46 UTC (permalink / raw)
  To: dri-devel; +Cc: Anthony Wong, Mario Limonciello

Hi,

Currently, OLED panel brightness [1] is not supported.
We have a similar Dell system that also affect by lack of OLED brightness  
support.

I’ve investigated both kernel and user space but I haven’t found a good  
general solution yet.
Dell systems use EDID descriptor 4 as Dell specific descriptor, which  
reports its panel type and we can know it’s an OLED panel or not.

My initial thought is to add a new attribute “oled" in drm_sysfs.c [2] to  
let userspace like clutter [3] to control the brightness.
However other DEs may need to implement their own OLED brightness support  
which isn’t ideal.

So I’d like to know if there’s any good way to support OLED brightness in  
good old backlight sysfs, to let userspace keep to the current interface.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=97883
[2] https://pastebin.ubuntu.com/p/QYrRBppVT9/
[3]  
https://gitlab.gnome.org/GNOME/clutter/blob/master/clutter/clutter-brightness-contrast-effect.c#L559

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

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

end of thread, other threads:[~2019-07-29  9:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-23 10:46 OLED panel brightness support Kai-Heng Feng
2019-07-24 11:48 ` Daniel Vetter
     [not found]   ` <30f693a33f5a45ce84673fd8d7cecc7a@AUSX13MPC105.AMER.DELL.COM>
2019-07-25  7:35     ` Kai-Heng Feng
2019-07-25 11:59       ` Daniel Vetter
2019-07-25 13:12         ` Sam Ravnborg
2019-07-25 14:02           ` Daniel Vetter
2019-07-25 14:24             ` Sam Ravnborg
2019-07-29  8:34         ` Jani Nikula
2019-07-29  8:26 ` Jani Nikula
2019-07-29  8:43   ` Kai-Heng Feng
2019-07-29  9:19     ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.