[PATCH v4 xserver 0/4] modesetting: add DRI2 page flip support
Qiang Yu
Qiang.Yu at amd.com
Mon Aug 22 10:14:14 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
V3:
1. squash previous patch 5 into patch 4
V4:
1. fix ms_dri2_exchange_buffers width/height miss copy
2. some fix on debug output and comments
Regards,
Qiang
Qiang Yu (4):
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
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, 630 insertions(+), 311 deletions(-)
create mode 100644 hw/xfree86/drivers/modesetting/pageflip.c
--
2.7.4
More information about the amd-gfx
mailing list