[PATCH v2 xserver 0/5] modesetting: add DRI2 page flip support
Qiang Yu
Qiang.Yu at amd.com
Fri Aug 19 12:50:45 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.
V2:
1. fix DRI2 page flip success handler event memory leak
2. adjust patch sequence to make DRI2 use the common
page flip code in pageflip.c from the beginning
3. some fix on debug output and comments
Regards,
Qiang
Qiang Yu (5):
modesetting: make ms_do_pageflip generic for share with DRI2
modesetting: move ms_do_pageflip to pageflip.c
modesetting: move common page flip handle to pageflip.c
modesetting: add DRI2 page flip support
modesetting: exclude DRI2 and prensent page flip
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 | 335 ++--------------------
6 files changed, 628 insertions(+), 313 deletions(-)
create mode 100644 hw/xfree86/drivers/modesetting/pageflip.c
--
2.7.4
More information about the xorg-devel
mailing list