diff options
| author | Lyude Paul <[email protected]> | 2021-05-14 14:15:03 -0400 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2021-06-09 13:35:56 -0400 |
| commit | 6eca310e8924ab98c73b81dfd39e7dd553ceddfd (patch) | |
| tree | 2559f89907df6949c39f9d23e6f5aa011b2a358a /tools/perf/scripts/python/syscall-counts.py | |
| parent | 867cf9cd73c3d31666e4b480aa4f52828d25ac94 (diff) | |
drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau
This adds support for controlling panel backlights over eDP using VESA's
standard backlight control interface. Luckily, Nvidia was cool enough to
never come up with their own proprietary backlight control interface (at
least, not any that I or the laptop manufacturers I've talked to are aware
of), so this should work for any laptop panels which support the VESA
backlight control interface.
Note that we don't yet provide the panel backlight frequency to the DRM DP
backlight helpers. This should be fine for the time being, since it's not
required to get basic backlight controls working.
For reference: there's some mentions of PWM backlight values in
nouveau_reg.h, but I'm not sure these are the values we would want to use.
If we figure out how to get this information in the future, we'll have the
benefit of more granular backlight control.
Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: Ben Skeggs <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions