From: Taimur Hassan <[email protected]>

Updated display microcontroller (DMUB) interface
- Add ramless_lobf_state: disabled 0x00, link on 0x10,
  Advanced Link Power Management sleep 0x20, invalid
  0xFF.

Signed-off-by: Taimur Hassan <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

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 c3aa0d0a74be..e9eee64fd834 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -7781,6 +7781,16 @@ enum ramless_lobf_enable_cmd {
        LOBF_EXIT_IDLE_SCREEN   = 4, /**< Exit idle screen */
 };
 
+/**
+ * enum ramless_lobf_state - Ramless LOBF FSM states visible in firmware state.
+ */
+enum ramless_lobf_state {
+       LOBF_STATE_DISABLED                   = 0x00, /**< Feature completely 
disabled */
+       LOBF_STATE_LINK_ON                    = 0x10, /**< Link is ON; Vline 
interrupt registered for Vblank start */
+       LOBF_STATE_ALPM_SLEEP_ENGAGED         = 0x20, /**< ALPM Sleep pattern 
sent; transitioning to PHY Off */
+       LOBF_STATE_INVALID                    = 0xFF, /**< Invalid / 
uninitialized */
+};
+
 /**
  * enum ramless_lobf_phy_mode - PHY power-state mode for Ramless LOBF.
  */
-- 
2.43.0

Reply via email to