diff options
| author | Colin Ian King <[email protected]> | 2021-09-15 12:36:11 +0100 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-23 15:17:28 -0400 |
| commit | b64cc0575d0a1b9e96c5345a6a8a06a43377acf9 (patch) | |
| tree | 2baf211211498c44ce731d778e17abd0178f4c5f /tools/perf/scripts/python/flamegraph.py | |
| parent | 226f4f5a6b6cb417ab2ed8550ea47c10190426a1 (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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions