All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Paul <seanpaul@chromium.org>
To: mark.yao@rock-chips.com, dri-devel@lists.freedesktop.org,
	ykk@rock-chips.com
Cc: marcheu@chromium.org, dianders@chromium.org,
	linux-rockchip@lists.infradead.org
Subject: [PATCH v2 0/6] drm/rockchip: Some patches to update the PSR series
Date: Tue, 16 Aug 2016 18:11:10 -0700	[thread overview]
Message-ID: <1471396276-8222-1-git-send-email-seanpaul@chromium.org> (raw)

This is a follow-on set to Yakir's original PSR set here:
        https://lkml.org/lkml/2016/7/24/34
and applies to the for-next branch at:
	https://cgit.freedesktop.org/~seanpaul/dogwood

There are a few issues with the code that needed to be
shored up.
 (1) The use of mutexes instead of spinlocks caused issues calling the
     psr functions from vblank_enable/disable.
 (2) The proliferation of workers due to (1)
 (3) A bunch of races due to (2)
 (4) vblank is not enabled unless an event is requested, this breaks
     a lot of things, but most noticeable was cursor.

Changes in v2:
	- Rebased on https://cgit.freedesktop.org/~seanpaul/dogwood
	  instead of random on-list patches (some of which had drifted)
	- Added the "small fixes" patch to catch some nits


Sean Paul (6):
  drm/rockchip: Convert psr_list_mutex to spinlock and use it
  drm/rockchip: Don't use a delayed worker for psr state changes
  drm/rockchip: Use a spinlock to protect psr state
  drm/rockchip: A couple small fixes to psr
  drm/rockchip: Improve analogix-dp psr handling
  drm/rockchip: Enable vblank without event

 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 19 ++++--
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c     |  2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.h     |  2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_psr.c     | 90 ++++++++++++-------------
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c     | 15 +++--
 5 files changed, 69 insertions(+), 59 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2016-08-17  1:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17  1:11 Sean Paul [this message]
2016-08-17  1:11 ` [PATCH v2 1/6] drm/rockchip: Convert psr_list_mutex to spinlock and use it Sean Paul
2016-08-17  2:29   ` Yakir Yang
2016-08-17  1:11 ` [PATCH v2 2/6] drm/rockchip: Don't use a delayed worker for psr state changes Sean Paul
2016-08-17  2:31   ` Yakir Yang
2016-08-17  1:11 ` [PATCH v2 3/6] drm/rockchip: Use a spinlock to protect psr state Sean Paul
2016-08-17  2:33   ` Yakir Yang
2016-08-17  1:11 ` [PATCH v2 4/6] drm/rockchip: A couple small fixes to psr Sean Paul
2016-08-17  2:34   ` Yakir Yang
2016-08-17  1:11 ` [PATCH v2 5/6] drm/rockchip: Improve analogix-dp psr handling Sean Paul
2016-08-17  2:35   ` Yakir Yang
2016-08-17  1:11 ` [PATCH v2 6/6] drm/rockchip: Enable vblank without event Sean Paul
2016-08-17  3:27   ` Yakir Yang
2016-08-17  2:41 ` [PATCH v2 0/6] drm/rockchip: Some patches to update the PSR series Yakir Yang
2016-08-17  2:45   ` Sean Paul
2016-08-17  3:20     ` Yakir Yang
2016-08-17  2:45   ` Yakir Yang

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=1471396276-8222-1-git-send-email-seanpaul@chromium.org \
    --to=seanpaul@chromium.org \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=marcheu@chromium.org \
    --cc=mark.yao@rock-chips.com \
    --cc=ykk@rock-chips.com \
    /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.