diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-28 16:34:44 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-28 16:03:28 -0400 |
commit | 7a88ef02c76dff12b0a9ea0e9da346f650e6f168 (patch) | |
tree | 636c799f7fe164c540bbda7027086f3fe487e892 /drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h | |
parent | drm/amdgpu: use designated initialiser for thermal_irq_src. (diff) | |
download | linux-dev-7a88ef02c76dff12b0a9ea0e9da346f650e6f168.tar.xz linux-dev-7a88ef02c76dff12b0a9ea0e9da346f650e6f168.zip |
amdgpu/pp: reduce size of vega10_fuses_default
I've no idea why this is like this, why store 64-bit fields
as a string, and then parse the strings, this is just over
engineered.
Reduce the size of the amdgpu.o by 80k.
text data bss dec hex filename
1331332 17982 1008 1350322 149ab2 amdgpu.o
1244668 17982 1008 1263658 13482a amdgpu.o
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucer <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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h index 22e2dd0b49b4..c6ba0d64cfb7 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h @@ -28,7 +28,7 @@ #include <linux/kernel.h> struct phm_fuses_default { - const char *key; + uint64_t key; uint32_t VFT2_m1; uint32_t VFT2_m2; uint32_t VFT2_b; |