[PATCH v6 00/11] PRIME Synchronization

Alex Goins agoins at nvidia.com
Sat Jun 11 00:20:54 UTC 2016


Hello all,

This patch set is identical to v5, except that it's rebased onto ToT, including
Dave's alternative implementation of one of my patches, commit a6b6e8ba. In the
last thread, Dave said that "with this rebased onto that, we should be pretty
much good to merge," so that is my hope.

These patches change the xserver to support setting up PRIME with double
buffering, and implement double buffered PRIME sink and source support in
the modesetting driver. In addition to these changes, I've upstreamed a
couple of patches to the i915 DRM driver that mesh with these, and have
implemented double buffered PRIME source support in the NVIDIA proprietary
driver (pending release.)

Previous cover letters:
    v5: https://lists.x.org/archives/xorg-devel/2016-April/049339.html
    v4: https://lists.x.org/archives/xorg-devel/2016-March/048944.html
    v3: https://lists.x.org/archives/xorg-devel/2016-February/048677.html
    v2: https://lists.x.org/archives/xorg-devel/2016-January/048434.html
    v1: https://lists.x.org/archives/xorg-devel/2015-November/048039.html

Thanks,
Alex @ NVIDIA Linux Driver Team

Alex Goins (11):
  xf86: Add PRIME flipping functions to Screen
  randr/xf86: Add PRIME Synchronization / Double Buffer
  randr: Add ability to turn PRIME sync off
  modesetting: Internal storage of scanout pixmaps
  modesetting: Always tear down scanout pixmap
  modesetting: Always load ms->drmmode.pageflip
  modesetting: Implement PRIME syncing as a sink
  modesetting: Suspend and resume flipping with DPMS
  modesetting: Blacklist UDL from PRIME sync
  modesetting: Disable Reverse PRIME for i915
  modesetting: Implement PRIME syncing as a source

 hw/xfree86/drivers/modesetting/driver.c          | 263 ++++++++++++++++--
 hw/xfree86/drivers/modesetting/drmmode_display.c | 330 ++++++++++++++++++++---
 hw/xfree86/drivers/modesetting/drmmode_display.h |  28 +-
 hw/xfree86/modes/xf86Crtc.h                      |   4 +
 hw/xfree86/modes/xf86RandR12.c                   |   4 +-
 include/scrnintstr.h                             |  14 +
 randr/randrstr.h                                 |  19 ++
 randr/rrcrtc.c                                   | 195 ++++++++++++--
 randr/rrprovider.c                               |  57 ++++
 9 files changed, 829 insertions(+), 85 deletions(-)

-- 
1.9.1



More information about the xorg-devel mailing list