[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421910333-5576-1-git-send-email-mark.yao@rock-chips.com>
Date: Thu, 22 Jan 2015 15:05:31 +0800
From: Mark Yao <mark.yao@...k-chips.com>
To: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
Rob Clark <robdclark@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Daniel Kurtz <djkurtz@...omium.org>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Cc: Mark Yao <mark.yao@...k-chips.com>
Subject: [PATCH 0/2] drm/rockchip: Optimization vop dpms control
drm dpms have many power modes, ON,OFF,SUSPEND,STANDBY, etc.
but vop only have enable/disable mode, maybe case such bug:
--> DRM_DPMS_ON: power on vop
--> DRM_DPMS_SUSPEND: power off vop
--> DRM_DPMS_OFF: already power off at SUSPEND, crash
so use a bool val is more suitable.
another problem at vop_crtc_dpms:
vop_enable()->drm_vblank_on, drm_vblank_on may call vop
enable vblank. if it happen, vblank enable would failed,
then cause irq status error. because is_enabled value is set
after drm_vblank_on.
Mark Yao (2):
drm/rockchip: vop use is_enabled instead of dpms mode
drm/rockchip: vop: set vop enabled after enable iommu
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 2 +-
drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 17 +++++------------
drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 3 +--
3 files changed, 7 insertions(+), 15 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists