diff options
| author | Yongqiang Sun <[email protected]> | 2020-07-31 17:57:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-08 21:15:52 +0000 |
| commit | 33c8256b3bcc0425caec2bb7511e34176f464348 (patch) | |
| tree | d6e0f499ec23a6c204527e2109ddc73dca13c2b2 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h | |
| parent | drm/amdgpu/swsmu: fix ARC build errors (diff) | |
| download | kernel-33c8256b3bcc0425caec2bb7511e34176f464348.tar.gz kernel-33c8256b3bcc0425caec2bb7511e34176f464348.zip | |
drm/amd/display: Change ABM config init interface
[Why & How]
change abm config init interface to support multiple ABMs.
Signed-off-by: Yongqiang Sun <[email protected]>
Reviewed-by: Chris Park <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/modules/power/power_helpers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h index 46fbca2e2cd1..fa4728d88092 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h @@ -28,6 +28,8 @@ #include "dc/inc/hw/dmcu.h" #include "dc/inc/hw/abm.h" +struct resource_pool; + enum abm_defines { abm_defines_max_level = 4, @@ -45,7 +47,7 @@ struct dmcu_iram_parameters { bool dmcu_load_iram(struct dmcu *dmcu, struct dmcu_iram_parameters params); -bool dmub_init_abm_config(struct abm *abm, +bool dmub_init_abm_config(struct resource_pool *res_pool, struct dmcu_iram_parameters params); #endif /* MODULES_POWER_POWER_HELPERS_H_ */ |
