mbox series

[0/2] drm/amd/display: some backlight fixes

Message ID 20210203124241.8512-1-tiwai@suse.de (mailing list archive)
Headers show
Series drm/amd/display: some backlight fixes | expand

Message

Takashi Iwai Feb. 3, 2021, 12:42 p.m. UTC
Hi,

here are two patches handling the issues in the backlight control.
The first one is to fix the sysfs brightness read for devices with the
backlight controlled by aux channel.  The second one is to add a new
module option, aux_backlight, to forcibly enable/disable the aux
channel backlight control.  It's no direct solution for the bug we've
hit, but it gives at least a workaround.

BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=1180749
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1438


thanks,

Takashi

===

Takashi Iwai (2):
  drm/amd/display: Fix the brightness read via aux
  drm/amd/display: Add aux_backlight module option

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  4 ++++
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 20 ++++++++++++++++++-
 3 files changed, 24 insertions(+), 1 deletion(-)