From: Anthony Koo <anthony....@amd.com>

 - Correct number of reserved bits in cmd_lock_hw
 - Extend bits of hw_lock_client to allow for more clients

Acked-by: Stylon Wang <stylon.w...@amd.com>
Signed-off-by: Anthony Koo <anthony....@amd.com>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 9f609829955d..a01814631911 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -47,10 +47,10 @@
 
 /* Firmware versioning. */
 #ifdef DMUB_EXPOSE_VERSION
-#define DMUB_FW_VERSION_GIT_HASH 0x1288a7b7
+#define DMUB_FW_VERSION_GIT_HASH 0xab0ae3c8
 #define DMUB_FW_VERSION_MAJOR 0
 #define DMUB_FW_VERSION_MINOR 0
-#define DMUB_FW_VERSION_REVISION 101
+#define DMUB_FW_VERSION_REVISION 102
 #define DMUB_FW_VERSION_TEST 0
 #define DMUB_FW_VERSION_VBIOS 0
 #define DMUB_FW_VERSION_HOTFIX 0
@@ -525,7 +525,7 @@ union dmub_inbox0_cmd_lock_hw {
                uint32_t command_code: 8;
 
                /* NOTE: Must be have enough bits to match: enum hw_lock_client 
*/
-               uint32_t hw_lock_client: 1;
+               uint32_t hw_lock_client: 2;
 
                /* NOTE: Below fields must match with: struct 
dmub_hw_lock_inst_flags */
                uint32_t otg_inst: 3;
@@ -540,7 +540,7 @@ union dmub_inbox0_cmd_lock_hw {
 
                uint32_t lock: 1;                               /**< Lock */
                uint32_t should_release: 1;             /**< Release */
-               uint32_t reserved: 8;                   /**< Reserved for 
extending more clients, HW, etc. */
+               uint32_t reserved: 7;                   /**< Reserved for 
extending more clients, HW, etc. */
        } bits;
        uint32_t all;
 };
-- 
2.34.1

Reply via email to