amdgpu/pp: move PhwVega10_Magic to static const.
Subsystems (2)
PATCH 1/1 amdgpu/pp: move PhwVega10_Magic to static const.
From: Dave Airlie <[email protected]>
This isn't used outside this file.
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +1 -1
@@ -81,7 +81,7 @@ static const uint32_t channel_number[] = {1, 2, 0, 4, 0, 8, 0, 16, 2};static int vega10_force_clock_level (struct pp_hwmgr *hwmgr,enum pp_clock_type type,uint32_t mask); -const ULONG PhwVega10_Magic = (ULONG )(PHM_VIslands_Magic); +static const ULONG PhwVega10_Magic = (ULONG )(PHM_VIslands_Magic);struct vega10_power_state *cast_phw_vega10_power_state (struct pp_hw_power_state *hw_ps)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h +0 -1
@@ -31,7 +31,6 @@#include "vega10_ppsmc.h" #include "vega10_powertune.h" -extern const uint32_t PhwVega10_Magic;#define VEGA10_MAX_HARDWARE_POWERLEVELS 2#define WaterMarksExist 1
Signature · 6 lines
2.9.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20170927233313.3951-1-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Alex Deucher
Reviewed-byQuoted 5 lines · Dave Airlie
From: Dave Airlie <[email protected]>
This isn't used outside this file.
Signed-off-by Dave Airlie <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 33 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +1
-1@@ -81,7 +81,7 @@ static const uint32_t channel_number[] = {1, 2, 0, 4, 0, 8, 0, 16, 2};static int vega10_force_clock_level (struct pp_hwmgr *hwmgr,enum pp_clock_type type,uint32_t mask); -const ULONG PhwVega10_Magic = (ULONG )(PHM_VIslands_Magic); +static const ULONG PhwVega10_Magic = (ULONG )(PHM_VIslands_Magic);struct vega10_power_state *cast_phw_vega10_power_state (struct pp_hw_power_state *hw_ps)drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h +0
-2@@ -31,7 +31,6 @@#include "vega10_ppsmc.h" #include "vega10_powertune.h" -extern const uint32_t PhwVega10_Magic;#define VEGA10_MAX_HARDWARE_POWERLEVELS 2#define WaterMarksExist 1 --2.9.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx