aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
diff options
context:
space:
mode:
authorWyatt Wood <[email protected]>2020-04-05 20:40:52 +0000
committerAlex Deucher <[email protected]>2020-04-09 14:43:16 +0000
commit8d26334d1ccdae26f2ed6457d36cc8ae99e98fc7 (patch)
treefcc3fe1bb7d1da34d73f25c12fda447c4f1633d0 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h
parentdrm/amd/display: only blank dp stream which will be powered off (diff)
downloadkernel-8d26334d1ccdae26f2ed6457d36cc8ae99e98fc7.tar.gz
kernel-8d26334d1ccdae26f2ed6457d36cc8ae99e98fc7.zip
drm/amd/display: Fix ABM config copy for dmcub
Decouple dmcub config copy from dmcu iram copy. 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/power/power_helpers.h')
-rw-r--r--drivers/gpu/drm/amd/display/modules/power/power_helpers.h3
1 files changed, 3 insertions, 0 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 e54157026330..46fbca2e2cd1 100644
--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
+++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
@@ -26,6 +26,7 @@
#define MODULES_POWER_POWER_HELPERS_H_
#include "dc/inc/hw/dmcu.h"
+#include "dc/inc/hw/abm.h"
enum abm_defines {
@@ -44,5 +45,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,
+ struct dmcu_iram_parameters params);
#endif /* MODULES_POWER_POWER_HELPERS_H_ */