OpenCloudOS-Kernel/drivers/gpu/drm/virtio
Arvind Yadav 05ccf211ef drm: ttm: virtio-gpu: dma-buf: Constify ttm_place structures.
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
   2315	    184	      0	   2499	    9c3 drivers/gpu/drm/virtio/virtgpu_ttm.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
   2347	    152	      0	   2499	    9c3 drivers/gpu/drm/virtio/virtgpu_ttm.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/25a189402a516a0142d9a4412da0a597c660a96a.1498981093.git.arvind.yadav.cs@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2017-07-03 10:31:14 +02:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
virtgpu_drm_bus.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_drv.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_drv.h drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_fb.c drm: virtio: add virtio_gpu_translate_format 2017-04-04 10:10:19 +02:00
virtgpu_fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
virtgpu_gem.c drm: virtio: fix virtio_gpu_mode_dumb_create 2017-04-04 10:10:20 +02:00
virtgpu_ioctl.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00
virtgpu_kms.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_object.c drm/virtio: don't leak bo on drm_gem_object_init failure 2017-04-07 13:29:17 +02:00
virtgpu_plane.c drm: virtio: fix virtio_gpu_cursor_formats 2017-04-06 15:23:57 +02:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c drm: ttm: virtio-gpu: dma-buf: Constify ttm_place structures. 2017-07-03 10:31:14 +02:00
virtgpu_vq.c drm: virtio: fix kmem_cache_alloc error check 2017-03-14 11:54:19 +01:00