[PATCH xserver 0/6] modesetting: add DRI2 page flip support
Martin Peres
martin.peres at linux.intel.com
Wed Aug 17 15:54:37 UTC 2016
On 17/08/16 13:29, Qiang Yu wrote:
> 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
>
Thanks for doing this! I will have a look at it whenever I can, but this
is great!
More information about the xorg-devel
mailing list