[PATCH v7 00/11] PRIME Synchronization

Alex Goins agoins at nvidia.com
Fri Jun 17 03:06:45 UTC 2016


Hello all,

This patch set fixes the lack of NULL checking and the leaks in the blacklisting
patches, and changes the UDL blacklist to a generic USB transport blacklist,
reflecting that there are other USB transport DRM drivers with similar
limitations to UDL.

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:
    v6: https://lists.x.org/archives/xorg-devel/2016-June/050114.html
    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 USB transport devices from PRIME sync
  modesetting: Disable Reverse PRIME for i915
  modesetting: Implement PRIME syncing as a source

 hw/xfree86/drivers/modesetting/driver.c          | 277 +++++++++++++++++--
 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, 844 insertions(+), 84 deletions(-)

-- 
1.9.1



More information about the xorg-devel mailing list