From: Anthony Koo <[email protected]>

 - Add control flag for IPS residency profiling

Reviewed-by: Tom Chung <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Anthony Koo <[email protected]>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h 
b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index 49bc1e41ac67..aaa211c828ed 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -408,7 +408,13 @@ union replay_debug_flags {
                 */
                uint32_t enable_ips_visual_confirm : 1;
 
-               uint32_t reserved : 21;
+               /**
+                * 0x800 (bit 11)
+                * @enable_ips_residency_profiling: Enable IPS residency 
profiling
+                */
+               uint32_t enable_ips_residency_profiling : 1;
+
+               uint32_t reserved : 20;
        } bitfields;
 
        uint32_t u32All;
-- 
2.34.1

Reply via email to