From: Aurabindo Pillai <[email protected]>

Adjust the structure dml2_dchub_watermark_regs for future usage

Reviewed-by: Austin Zheng <[email protected]>
Signed-off-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
---
 .../display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h  | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h 
b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h
index 5669be0a7340..799e72243418 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h
+++ b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h
@@ -171,8 +171,15 @@ struct dml2_dchub_watermark_regs {
        uint32_t sr_exit_low_power;
        uint32_t uclk_pstate;
        uint32_t fclk_pstate;
+       union {
        uint32_t temp_read_or_ppt;
+               uint32_t temp_read;
+       };
+       uint32_t ppt;
+       union {
        uint32_t usr;
+               uint32_t buffer_fullness;
+       };
        /* qos */
        uint32_t refcyc_per_trip_to_mem;
        uint32_t refcyc_per_meta_trip_to_mem;
-- 
2.43.0

Reply via email to