]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c865897f16f31c779adba177d60dcc3c7501eea
tree636c799f7fe164c540bbda7027086f3fe487e892
parent92d106808051043e5fe64ee2db39aba63eb832cc
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