summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorLyude Paul <lyude@redhat.com>2020-12-05 01:35:57 +0300
committerJani Nikula <jani.nikula@intel.com>2020-12-23 18:44:04 +0300
commit6423cb7f9249aa213c25b7a9fc2c3fbb271a10a4 (patch)
tree0c9295c3375662f5242ce4aff91448ab590b7c56 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent390218ca9b927c4a8395fbc2c50997f405374194 (diff)
downloadlinux-6423cb7f9249aa213c25b7a9fc2c3fbb271a10a4.tar.xz
drm/i915: Pass down brightness values to enable/disable backlight callbacks
Instead of using intel_panel->backlight.level, have the caller provide us with the current panel backlight value. We'll need this for when we separate PWM-related backlight callbacks from other means of backlight control (like DPCD backlight controls), as the caller of each PWM callback will be responsible for converting the current brightness value to it's respective PWM level. Signed-off-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201204223603.249878-4-lyude@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions