[PATCH 00/14] atomic modesetting for cirrus

Varad Gautam varadgautam at gmail.com
Fri Aug 18 15:49:05 UTC 2017


Hello,

This series converts drm/cirrus to support atomic modesetting for the
emulated CL GD-54xx hw in qemu.

Patches 1-7 are general fixes and improvements, in preparation for atomic.
Patch 8 provides dmabuf export for cirrus.
Patch 9-11 add universal primary plane support and rework the driver to use
  atomic transition helpers for legacy modesetting.
Patch 12 moves away from legacy modesetting entirely to use atomic handlers.
Patch 13 adds atomic cursor plane.
Patch 14 flips on DRIVER_ATOMIC.

I have tested this with igt and chromeos/drm-tests (details in patch 14).

Fun trivia from the GD-54xx TRM, 1996! It boasts 'optimized PCI burst write,
which supports PCI writes to the frame buffer at greater than 55 Mbytes
per second.'

Dominik Behr (1):
  drm/cirrus: initialize start and size fields

Stéphane Marchesin (1):
  drm/cirrus: Use 32bpp by default

Varad Gautam (10):
  drm/cirrus: split out bo unpinning from cirrus_bo_push_sysram
  drm/cirrus: unregister connector on destroy
  drm/cirrus: add drm_read to cirrus_driver_fops
  drm/cirrus: do not disable outputs on fbdev init for atomic.
  drm/cirrus: use universal plane interfaces for primary plane
  drm/cirrus: use atomic transition helpers for plane and crtc
  drm/cirrus: send vblank on crtc atomic_flush
  drm/cirrus: use atomic handlers for plane and crtc
  drm/cirrus: implement atomic hardware cursor support
  drm/cirrus: advertise DRIVER_ATOMIC

Zach Reizner (2):
  drm/cirrus: hardcode vram size
  drm/cirrus: implement PRIME export for cirrus

 drivers/gpu/drm/cirrus/Makefile       |   2 +-
 drivers/gpu/drm/cirrus/cirrus_drv.c   |  17 +-
 drivers/gpu/drm/cirrus/cirrus_drv.h   |  25 ++
 drivers/gpu/drm/cirrus/cirrus_fbdev.c |   6 +-
 drivers/gpu/drm/cirrus/cirrus_main.c  |  23 +-
 drivers/gpu/drm/cirrus/cirrus_mode.c  | 681 ++++++++++++++++++++++++++--------
 drivers/gpu/drm/cirrus/cirrus_prime.c |  63 ++++
 drivers/gpu/drm/cirrus/cirrus_ttm.c   |  55 ++-
 8 files changed, 705 insertions(+), 167 deletions(-)
 create mode 100644 drivers/gpu/drm/cirrus/cirrus_prime.c

Thanks,
Varad
-- 
2.13.1



More information about the dri-devel mailing list