diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2020-03-30 09:04:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-22 18:11:47 -0400 |
commit | 67d09292f857d47e3577e69236e426cbc31439f0 (patch) | |
tree | ac248b2690b44bbe084d4bbbf6797f8013db919d /block | |
parent | f12f70117a3cc9b7286dea486cb7af9920aa5dfd (diff) | |
download | linux-stable-67d09292f857d47e3577e69236e426cbc31439f0.tar.gz linux-stable-67d09292f857d47e3577e69236e426cbc31439f0.tar.bz2 linux-stable-67d09292f857d47e3577e69236e426cbc31439f0.zip |
drm/amd/display: Add SetBacklight call to abm on dmcub
[Why]
Set backlight calls to firmware are are being prevented by dmcu == null
check. Dmcu is expected to be null in this case.
[How]
Only prevent call if dmcu and abm are null. Also rename variable
'use_smooth_brightness' to 'fw_set_brightness' as it's more appropriate.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions