aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.h
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-02-04 19:11:56 +0000
committerThomas Zimmermann <[email protected]>2021-02-05 14:38:08 +0000
commit0c9d59c3dbcfb6a5871c03d34f4d22cd3d3de41f (patch)
tree2c54821fda8d9084e5dc410df668ccc7ddc94419 /drivers/gpu/drm/lima/lima_devfreq.h
parentdrm/scheduler: provide scheduler score externally (diff)
downloadkernel-0c9d59c3dbcfb6a5871c03d34f4d22cd3d3de41f.tar.gz
kernel-0c9d59c3dbcfb6a5871c03d34f4d22cd3d3de41f.zip
drm/mgag200: make a const array static, makes object smaller
Don't populate the const array m_div_val on the stack but instead make it static. Makes the object code smaller by 29 bytes: Before: text data bss dec hex filename 34736 4552 0 39288 9978 drivers/gpu/drm/mgag200/mgag200_mode.o After: text data bss dec hex filename 34625 4616 0 39241 9949 drivers/gpu/drm/mgag200/mgag200_mode.o (gcc version 10.2.0) Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.h')
0 files changed, 0 insertions, 0 deletions