All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qiang Yu <Qiang.Yu-5C7GfCeVMHo@public.gmane.org>
To: xorg-devel-go0+a7rfsptAfugRpC6u6w@public.gmane.org
Cc: Qiang Yu <Qiang.Yu-5C7GfCeVMHo@public.gmane.org>,
	michel-otUistvHUpPR7s880joybQ@public.gmane.org,
	emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH v3 xserver 0/4] modesetting: add DRI2 page flip support
Date: Mon, 22 Aug 2016 11:53:54 +0800	[thread overview]
Message-ID: <1471838038-16382-1-git-send-email-Qiang.Yu@amd.com> (raw)

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

             reply	other threads:[~2016-08-22  3:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-22  3:53 Qiang Yu [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1471838038-16382-1-git-send-email-Qiang.Yu@amd.com \
    --to=qiang.yu-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=michel-otUistvHUpPR7s880joybQ@public.gmane.org \
    --cc=xorg-devel-go0+a7rfsptAfugRpC6u6w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.