提交 7a88ef02 编写于 作者: D Dave Airlie 提交者: Alex Deucher

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: NHarry Wentland <harry.wentland@amd.com>
Acked-by: NAlex Deucer <alexander.deucher@amd.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 2b6a81f4
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
struct phm_fuses_default { struct phm_fuses_default {
const char *key; uint64_t key;
uint32_t VFT2_m1; uint32_t VFT2_m1;
uint32_t VFT2_m2; uint32_t VFT2_m2;
uint32_t VFT2_b; uint32_t VFT2_b;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册