All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 xserver 0/4] modesetting: add DRI2 page flip support
@ 2016-08-22  3:53 Qiang Yu
       [not found] ` <1471838038-16382-1-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Qiang Yu @ 2016-08-22  3:53 UTC (permalink / raw)
  To: xorg-devel-go0+a7rfsptAfugRpC6u6w
  Cc: Qiang Yu, michel-otUistvHUpPR7s880joybQ,
	emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

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, 628 insertions(+), 313 deletions(-)
 create mode 100644 hw/xfree86/drivers/modesetting/pageflip.c

-- 
2.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-22  7:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-22  3:53 [PATCH v3 xserver 0/4] modesetting: add DRI2 page flip support Qiang Yu
     [not found] ` <1471838038-16382-1-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
2016-08-22  3:53   ` [PATCH v3 xserver 1/4] modesetting: make ms_do_pageflip generic for share with DRI2 Qiang Yu
     [not found]     ` <1471838038-16382-2-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
2016-08-22  7:58       ` Michel Dänzer
2016-08-22  3:53   ` [PATCH v3 xserver 2/4] modesetting: move ms_do_pageflip to pageflip.c Qiang Yu
2016-08-22  3:53   ` [PATCH v3 xserver 3/4] modesetting: move common page flip handle " Qiang Yu
     [not found]     ` <1471838038-16382-4-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
2016-08-22  7:59       ` Michel Dänzer
2016-08-22  3:53   ` [PATCH v3 xserver 4/4] modesetting: add DRI2 page flip support Qiang Yu
     [not found]     ` <1471838038-16382-5-git-send-email-Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
2016-08-22  6:30       ` Daniel Martin
     [not found]         ` <CADscph0CQsVXmYTLetbXyzrJHoapPfF=3r1K3ZSGBPYoooas5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-22  6:54           ` Yu, Qiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.