[PATCH xserver 0/6] modesetting: add DRI2 page flip support

Qiang Yu Qiang.Yu at amd.com
Wed Aug 17 10:29:05 UTC 2016


Hi guys,

This patch set is for adding DRI2 page flip support to modesetting
driver. I mainly take reference of amdgpu DDX and reuse present
page flip code in the modesetting driver.

Regards,
Qiang

Qiang Yu (6):
  modesetting: make ms_do_pageflip generic for share with DRI2
  modesetting: move ms_do_pageflip to pageflip.c
  modesetting: add DRI2 page flip support
  modesetting: exclude DRI2 and Present page flip
  modesetting: merge common page flip code for present and dri2
  modesetting: remove redundent pixmap destroy

 hw/xfree86/drivers/modesetting/Makefile.am       |   1 +
 hw/xfree86/drivers/modesetting/dri2.c            | 237 +++++++++++++++-
 hw/xfree86/drivers/modesetting/driver.h          |  21 ++
 hw/xfree86/drivers/modesetting/drmmode_display.h |   3 +
 hw/xfree86/drivers/modesetting/pageflip.c        | 344 +++++++++++++++++++++++
 hw/xfree86/drivers/modesetting/present.c         | 333 ++--------------------
 6 files changed, 624 insertions(+), 315 deletions(-)
 create mode 100644 hw/xfree86/drivers/modesetting/pageflip.c

-- 
2.7.4



More information about the xorg-devel mailing list