drm/amd/display: update bios scratch when setting backlight
Update the bios scratch register when updating the backlight level. Some platforms apparently read this scratch register and do additional operations in their hotkey handlers. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1518 Reviewed-by:Harry Wentland <harry.wentland@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 12 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h 2 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 4 additions, 0 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
Loading
Please register or sign in to comment