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 8bbccd49290b0b27eadd9386c9eb646bc069c26c..c8b2917b2a2fe5938271460049f3128af0c7c65e 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 3ac74e29cadb5387b6aeddd2be39d94183ca5a4c..47e57bd2c36f9b747c4a7632a1d488efcd13e40e 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
 };