[PATCH v2 0/4] Add virtio gpu driver.
Gerd Hoffmann
kraxel at redhat.com
Wed Apr 1 06:15:26 PDT 2015
Hi,
Next version of the virtio-gpu driver. Turned into a little patch
series now. Most review comments should be addressed.
Changes in v2:
* add support for universal plane
* add support for atomic modesetting
* make non-failing funcs return void, kill pointless error checking
* allocate vbuffers at init time, to avoid allocations in critical paths
* license clarification (dual mit/gpl)
* splitted vga handling into separate patch
* improve error handling
* codestyle fixes
* misc minor tweaks here and there
Still on the todo list:
* sort how to handle vga compatibility best, for now the bits just have
been splitted into a separate patch so they are easier to spot and
don't confuse when reviewing the main parts of the driver.
* properly handle page flip.
cheers,
Gerd
Dave Airlie (1):
Add virtio gpu driver.
Gerd Hoffmann (3):
break kconfig dependency loop
drm_vblank_get: don't WARN_ON in case vblanks are not initialized
Add virtio-vga bits.
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/drm_irq.c | 3 +
drivers/gpu/drm/virtio/Kconfig | 14 +
drivers/gpu/drm/virtio/Makefile | 11 +
drivers/gpu/drm/virtio/virtgpu_debugfs.c | 64 ++++
drivers/gpu/drm/virtio/virtgpu_display.c | 485 ++++++++++++++++++++++++
drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 95 +++++
drivers/gpu/drm/virtio/virtgpu_drv.c | 136 +++++++
drivers/gpu/drm/virtio/virtgpu_drv.h | 350 ++++++++++++++++++
drivers/gpu/drm/virtio/virtgpu_fb.c | 431 ++++++++++++++++++++++
drivers/gpu/drm/virtio/virtgpu_fence.c | 119 ++++++
drivers/gpu/drm/virtio/virtgpu_gem.c | 140 +++++++
drivers/gpu/drm/virtio/virtgpu_kms.c | 163 ++++++++
drivers/gpu/drm/virtio/virtgpu_object.c | 170 +++++++++
drivers/gpu/drm/virtio/virtgpu_plane.c | 120 ++++++
drivers/gpu/drm/virtio/virtgpu_ttm.c | 469 +++++++++++++++++++++++
drivers/gpu/drm/virtio/virtgpu_vq.c | 614 +++++++++++++++++++++++++++++++
drivers/media/platform/Kconfig | 2 +-
drivers/virtio/virtio_pci_common.c | 7 +-
include/drm/drmP.h | 1 +
include/uapi/linux/Kbuild | 1 +
include/uapi/linux/virtio_gpu.h | 204 ++++++++++
include/uapi/linux/virtio_ids.h | 1 +
24 files changed, 3601 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/virtio/Kconfig
create mode 100644 drivers/gpu/drm/virtio/Makefile
create mode 100644 drivers/gpu/drm/virtio/virtgpu_debugfs.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_display.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_drm_bus.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_drv.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_drv.h
create mode 100644 drivers/gpu/drm/virtio/virtgpu_fb.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_fence.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_gem.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_kms.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_object.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_plane.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_ttm.c
create mode 100644 drivers/gpu/drm/virtio/virtgpu_vq.c
create mode 100644 include/uapi/linux/virtio_gpu.h
--
1.8.3.1
More information about the dri-devel
mailing list