linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Paul <sean-p7yTbzM4H96eqtR555YLDQ@public.gmane.org>
To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: hoegsberg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
	Sean Paul <seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	jsanka-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	abhinavk-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Subject: [PATCH 0/2] drm/msm: dpu: Fix cursor updates
Date: Wed, 19 Sep 2018 14:56:21 -0400	[thread overview]
Message-ID: <20180919185627.206368-1-sean@poorly.run> (raw)

From: Sean Paul <seanpaul@chromium.org>

Hey all,
So here's the async cursor patchset, it works pretty well on my device
(video mode dsi). I do have a couple of concerns that hopefully people
might have solutions for.

The first patch masks off the flush register to exclude inactive bits.
I think it'd be nicer to clear those bits if the plane was being
disabled, but it wasn't obvious how I could do this. Any suggestions?

The second patch seems a bit more spread out than I would like. I'd
rather not propagate the async checks all over, but this seemed like the
minimum amount in order to get things working reliably. If you have
better suggestions, please speak up.

Thanks,

Sean

Sean Paul (2):
  drm/msm: dpu: Only check flush register against pending flushes
  drm/msm: dpu: Make legacy cursor updates asynchronous

 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      | 44 ++++++++++---------
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h      |  3 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   | 21 +++++----
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h   |  6 ++-
 .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c  |  2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |  5 ++-
 drivers/gpu/drm/msm/msm_atomic.c              |  3 +-
 7 files changed, 49 insertions(+), 35 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

             reply	other threads:[~2018-09-19 18:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19 18:56 Sean Paul [this message]
     [not found] ` <20180919185627.206368-1-sean-p7yTbzM4H96eqtR555YLDQ@public.gmane.org>
2018-09-19 18:56   ` [PATCH 1/2] drm/msm: dpu: Only check flush register against pending flushes Sean Paul
     [not found]     ` <20180919185627.206368-2-sean-p7yTbzM4H96eqtR555YLDQ@public.gmane.org>
2018-09-26 18:51       ` Jeykumar Sankaran
     [not found]         ` <709b39ac985c0687e248710c75d16599-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-01 20:29           ` Sean Paul
2018-10-03  1:14             ` Jeykumar Sankaran
     [not found]               ` <7ee73b3551e82df746d478a6ac02e8be-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-03 15:45                 ` Sean Paul
2018-09-19 18:56   ` [PATCH 2/2] drm/msm: dpu: Make legacy cursor updates asynchronous Sean Paul
     [not found]     ` <20180919185627.206368-3-sean-p7yTbzM4H96eqtR555YLDQ@public.gmane.org>
2018-09-26 18:56       ` Jeykumar Sankaran
     [not found]         ` <ac73bcb9bd81301b2a58a6eef29b3dc2-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-01 20:30           ` Sean Paul
2018-10-03  1:19             ` Jeykumar Sankaran
     [not found]               ` <ca688d3db87e0665b0de64717c1917c6-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-03 14:33                 ` Sean Paul

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=20180919185627.206368-1-sean@poorly.run \
    --to=sean-p7ytbzm4h96eqtr555yldq@public.gmane.org \
    --cc=abhinavk-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=hoegsberg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=jsanka-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=seanpaul-F7+t8E8rja9g9hUCZPvPmw@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).