drm/amd/powerplay: update magic number for rv hw backend
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 23 May 2017 10:32:30 +0000 (18:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 May 2017 20:12:12 +0000 (16:12 -0400)
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h

index 8bbccd4..c8b2917 100644 (file)
@@ -43,7 +43,7 @@
 #define SMC_RAM_END                     0x40000
 
 
-static const unsigned long PhwRaven_Magic = (unsigned long) PHM_Cz_Magic;
+static const unsigned long PhwRaven_Magic = (unsigned long) PHM_Rv_Magic;
 int rv_display_clock_voltage_request(struct pp_hwmgr *hwmgr,
                struct pp_display_clock_request *clock_req);
 
index 3ac74e2..47e57bd 100644 (file)
@@ -99,7 +99,8 @@ enum PHM_BackEnd_Magic {
        PHM_CIslands_Magic    = 0x38AC78B0,
        PHM_Kv_Magic          = 0xDCBBABC0,
        PHM_VIslands_Magic    = 0x20130307,
-       PHM_Cz_Magic          = 0x67DCBA25
+       PHM_Cz_Magic          = 0x67DCBA25,
+       PHM_Rv_Magic          = 0x20161121
 };