linux/drivers/gpu/drm/amd
Colin Ian King 9ce5ed6eaa drm/amdgpu/display: make a const array common_rates static, makes object smaller
Don't populate the const array common_rates on the stack but instead it
static. Makes the object code smaller by 80 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
 268019	  98322	    256	 366597	  59805	../display/amdgpu_dm/amdgpu_dm.o

After:
   text	   data	    bss	    dec	    hex	filename
 267843	  98418	    256	 366517	  597b5	../display/amdgpu_dm/amdgpu_dm.o

Reduction of 80 bytes

(gcc version 10.3.0)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-16 13:51:58 -04:00
..
acp
amdgpu drm/amdgpu: update gc golden setting for dimgrey_cavefish 2021-07-16 13:51:45 -04:00
amdkfd Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping" 2021-07-13 11:41:05 -04:00
display drm/amdgpu/display: make a const array common_rates static, makes object smaller 2021-07-16 13:51:58 -04:00
include drm/amd/pm: drop smu_v13_0_1.c|h files for yellow carp 2021-07-08 17:47:28 -04:00
pm drm/amd/pm: update DRIVER_IF_VERSION for beige_goby 2021-07-16 13:51:51 -04:00