aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-09-28 09:36:55 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-28 16:03:26 -0400
commit819c4b949d3af009f0111e4a9ddfe3de5f2c2fe1 (patch)
tree158086f30d1a82eb6f9b6045e6f28b6e163f1c89 /drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
parentamdgpu/pp: move PhwVega10_Magic to static const. (diff)
downloadlinux-dev-819c4b949d3af009f0111e4a9ddfe3de5f2c2fe1.tar.xz
linux-dev-819c4b949d3af009f0111e4a9ddfe3de5f2c2fe1.zip
amdgpu/pp: move amdgpu_fuses_default into static const.
There is no reason that this gets passed back into the function from outside the file, just reference the table directly. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
index 133745fe4570..22e2dd0b49b4 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
@@ -40,9 +40,7 @@ struct phm_fuses_default {
uint32_t VFT0_b;
};
-extern const struct phm_fuses_default vega10_fuses_default[];
extern int pp_override_get_default_fuse_value(uint64_t key,
- const struct phm_fuses_default list[],
struct phm_fuses_default *result);
#endif \ No newline at end of file