diff options
| author | 2021-09-15 12:36:11 +0100 | |
|---|---|---|
| committer | 2021-09-23 15:17:28 -0400 | |
| commit | b64cc0575d0a1b9e96c5345a6a8a06a43377acf9 (patch) | |
| tree | 2baf211211498c44ce731d778e17abd0178f4c5f /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: Resolve nBIF RAS error harvesting bug (diff) | |
drm/radeon: make array encoded_lanes static
Don't populate the read-only array encoded_lanes on the stack but instead it
static. Also makes the object code smaller by 97 bytes:
Before:
text data bss dec hex filename
38899 8064 0 46963 b773 ./drivers/gpu/drm/radeon/r600_dpm.o
After:
text data bss dec hex filename
38738 8128 0 46866 b712 ./drivers/gpu/drm/radeon/r600_dpm.o
(gcc version 11.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
