aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
diff options
context:
space:
mode:
authorYongqiang Sun <[email protected]>2019-10-12 20:06:19 +0000
committerAlex Deucher <[email protected]>2019-11-13 20:29:42 +0000
commita7e3658e9430c19bc7b87949fb826e49ec0465b4 (patch)
tree473c7b9f010e0a61aa5afe6247fd5a39b0cf11c9 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
parentdrm/amd/display: Add the DMUB service (diff)
downloadkernel-a7e3658e9430c19bc7b87949fb826e49ec0465b4.tar.gz
kernel-a7e3658e9430c19bc7b87949fb826e49ec0465b4.zip
drm/amd/display: Change dmcu init sequence for dmcub loading dmcu FW.
[Why] DMCU isn't intiliazed properly by dmcub loading due to dmcub initialize sequence. [How] Change dmcu init sequece to meet dmcub initilize. Signed-off-by: Yongqiang Sun <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Hersen Wu <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
index c68f0ce346c7..5315f1f86b21 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
@@ -52,6 +52,8 @@ struct dmcu {
enum dmcu_state dmcu_state;
struct dmcu_version dmcu_version;
unsigned int cached_wait_loop_number;
+ uint32_t psp_version;
+ bool auto_load_dmcu;
};
struct dmcu_funcs {