[PATCH 0/5] drm/rockchip: Some patches to up the PSR series

Sean Paul seanpaul at chromium.org
Wed Aug 10 14:24:13 PDT 2016


This is a follow-on set to Yakir's original PSR set here:
	https://lkml.org/lkml/2016/7/24/34

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) vblank is not enabled unless an event is requested, this breaks
     a lot of things, but most noticeable was cursor.

----------------------------------------------------------------------

Sean Paul (5):
  drm/rockchip: Change psr list mutex to spinlock
  drm/rockchip: Change state_mutex to spinlock
  drm/rockchip: Remove delayed work to enable/disable psr
  drm/rockchip: Improve analogix-dp psr handling
  drm/rockchip: Enable vblank without event

 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |  1 -
 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c    | 24 ++++---
 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        | 84 ++++++++++++++--------
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        | 43 +++++------
 6 files changed, 90 insertions(+), 66 deletions(-)

-- 
2.8.0.rc3.226.g39d4020




More information about the Linux-rockchip mailing list