linux-stable/drivers/gpu/drm/virtio
Ben Widawsky e6fc3b6855 drm: Plumb modifiers through plane init
This is the plumbing for supporting fb modifiers on planes. Modifiers
have already been introduced to some extent, but this series will extend
this to allow querying modifiers per plane. Based on this, the client to
enable optimal modifications for framebuffers.

This patch simply allows the DRM drivers to initialize their list of
supported modifiers upon initializing the plane.

v2: A minor addition from Daniel

v3:
* Updated commit message
* s/INVALID/DRM_FORMAT_MOD_INVALID (Liviu)
* Remove some excess newlines (Liviu)
* Update comment for > 64 modifiers (Liviu)

v4: Minor comment adjustments (Liviu)

v5: Some new platforms added due to rebase

v6: Add some missed plane inits (or maybe they're new - who knows at
this point) (Daniel)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-08-01 17:50:06 +01: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/<drivers>: Drop fbdev info flags 2017-07-26 13:22:40 +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: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
virtgpu_prime.c
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