aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-07-15 15:37:40 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-07-16 13:51:58 -0400
commit9ce5ed6eaac588de2c73bb0262f0ef0b55012225 (patch)
tree7964c33edef2f3dedc6bfd55180a313c58fc2a3f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent67a1af079b490abe587c6187d2066a9c39169d6c (diff)
downloadlinux-9ce5ed6eaac588de2c73bb0262f0ef0b55012225.tar.gz
linux-9ce5ed6eaac588de2c73bb0262f0ef0b55012225.tar.bz2
linux-9ce5ed6eaac588de2c73bb0262f0ef0b55012225.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions