Re: KMS backlight ABI proposition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 24 Feb 2017, Daniel Thompson <daniel.thompson@xxxxxxxxxx> wrote:
> On 24/02/17 08:43, Jani Nikula wrote:
>  >> - "Some PWM based backlight allow adjusting the PWM modulation
>  >> frequency." you don't need a motivation for *why* I would want to
>  >> change the mod freq on the fly, actually in my experience you
>  >> shouldn't since this can lead to flickery backlights.
>  >
>  > The modulation frequency is usually an OEM design choice. The higher
>  > the
>  > frequency, less flicker, but also fewer user distinguishable levels of
>  > backlight (signal rise/fall times come into play). Occasionally there
>  > have been requests to be able to adjust the frequency. We can of course
>  > decide that's an implementation detail and not let userspace change it.
>
> In principle the backlight max level could also change during monitor 
> hotplug; recent versions DDC/CI include a backlight properties. We have 
> no driver for this right now but conversation is starting (and proper 
> backlight support in DRM connectors will probably help it happen faster).
>
> I'm afraid I have no idea if this is "real" or now. Right now I have no 
> clue how many monitors implement it. For regular desktop monitors which 
> mirror old school brightness/contrast in their UI then 0 wouldn't 
> surprise me much ;-)

Thanks for the reminder. I think so far this as worked by using the DDC
I2C device nodes directly. And it really works already to some extent,
on some displays. It would be nice to have this controlled the same way
as embedded diplays.

Another interesting aspect with DDC/CI brightness control, one that it
shares with eDP DPCD and DSI DCS brightness controls, is that it could
all happen within DRM, mostly in a generic, driver independent
manner. There would not be a need for a backlight class device or sysfs
API at all, except for legacy needs.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux