mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 05:16:47 +07:00
9e2033a6bb
ttm_place are not supposed to change at runtime. All functions working with ttm_place provided by <drm/ttm/ttm_placement.h> work with const ttm_place. So mark the non-const structs as const. File size before: text data bss dec hex filename 3485 184 264 3933 f5d drivers/gpu/drm/qxl/qxl_ttm.o File size After adding 'const': text data bss dec hex filename 3501 152 264 3917 f4d drivers/gpu/drm/qxl/qxl_ttm.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/a4f21d3bd2497129f084b8055ecf27f0d3ff1bba.1499013516.git.arvind.yadav.cs@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
qxl_cmd.c | ||
qxl_debugfs.c | ||
qxl_dev.h | ||
qxl_display.c | ||
qxl_draw.c | ||
qxl_drv.c | ||
qxl_drv.h | ||
qxl_dumb.c | ||
qxl_fb.c | ||
qxl_gem.c | ||
qxl_image.c | ||
qxl_ioctl.c | ||
qxl_irq.c | ||
qxl_kms.c | ||
qxl_object.c | ||
qxl_object.h | ||
qxl_prime.c | ||
qxl_release.c | ||
qxl_ttm.c |