diff options
author | Wyatt Wood <wyatt.wood@amd.com> | 2020-02-20 19:50:44 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-01 21:44:44 +0300 |
commit | 16012806e697bdee44329adc3e55631c5ab667f3 (patch) | |
tree | 3417d54a066f0751dd977deb64b7fbfa1518edce /drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | |
parent | 46484870d02acc174cbf2c22400c1b7b38346818 (diff) | |
download | linux-16012806e697bdee44329adc3e55631c5ab667f3.tar.xz |
drm/amd/display: Add ABM driver implementation
[Why]
Moving ABM from DMCU to DMCUB.
[How]
Add ABM driver files and implementation.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/abm.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h index d607b3191954..9cca0ca30fee 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/abm.h @@ -60,6 +60,10 @@ struct abm_funcs { unsigned int (*get_current_backlight)(struct abm *abm); unsigned int (*get_target_backlight)(struct abm *abm); + bool (*load_abm_config)(struct abm *abm, + unsigned int start_offset, + const char *src, + unsigned int bytes); }; #endif |