amdgpu/pp: reduce size of vega10_fuses_default
authorDave Airlie <airlied@redhat.com>
Thu, 28 Sep 2017 06:34:44 +0000 (16:34 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:28 +0000 (16:03 -0400)
commit7a88ef02c76dff12b0a9ea0e9da346f650e6f168
tree636c799f7fe164c540bbda7027086f3fe487e892
parent2b6a81f437a7cc8787bae5d7ef64bf77cf8bb0ec
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>
drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.c
drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h