diff options
| author | Wyatt Wood <[email protected]> | 2020-03-30 13:04:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-22 22:11:47 +0000 |
| commit | 67d09292f857d47e3577e69236e426cbc31439f0 (patch) | |
| tree | ac248b2690b44bbe084d4bbbf6797f8013db919d /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
| parent | drm/amd/display: Remove byte swapping for dmcub abm config table (diff) | |
| download | kernel-67d09292f857d47e3577e69236e426cbc31439f0.tar.gz kernel-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 <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
0 files changed, 0 insertions, 0 deletions
