]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Add replay state entry to replay_state
authorAnthony Koo <anthony.koo@amd.com>
Sat, 15 Jun 2024 16:51:44 +0000 (12:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:06:52 +0000 (16:06 -0400)
 - Add new Replay states 2A (initial Replay entry) and 4E (frame update)
   to check is there is new frame update before sending

Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Anthony Koo <anthony.koo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h

index 78e8698fe378188a71f486c011cdd732d747b305..605dd9d451670a68166bf3b8f201125d914e8aef 100644 (file)
@@ -3326,6 +3326,7 @@ enum replay_state {
        REPLAY_STATE_1                  = 0x10,
        REPLAY_STATE_1A                 = 0x11,
        REPLAY_STATE_2                  = 0x20,
+       REPLAY_STATE_2A                 = 0x21,
        REPLAY_STATE_3                  = 0x30,
        REPLAY_STATE_3INIT              = 0x31,
        REPLAY_STATE_4                  = 0x40,
@@ -3333,6 +3334,7 @@ enum replay_state {
        REPLAY_STATE_4B                 = 0x42,
        REPLAY_STATE_4C                 = 0x43,
        REPLAY_STATE_4D                 = 0x44,
+       REPLAY_STATE_4E                 = 0x45,
        REPLAY_STATE_4B_LOCKED          = 0x4A,
        REPLAY_STATE_4C_UNLOCKED        = 0x4B,
        REPLAY_STATE_5                  = 0x50,