From: Yakir Yang <ykk@rock-chips.com>
To: Mark Yao <yzq@rock-chips.com>, Heiko Stuebner <heiko@sntech.de>,
tfiga@chromium.org
Cc: daniel.vetter@ffwll.ch, dianders@chromium.org,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
linux-rockchip@lists.infradead.org,
Thierry Reding <treding@nvidia.com>
Subject: [RFC PATCH v2 0/3]
Date: Thu, 2 Jun 2016 20:57:08 +0800 [thread overview]
Message-ID: <1464872228-18292-1-git-send-email-ykk@rock-chips.com> (raw)
The full name of PSR is Panel Self Refresh, panel device could refresh
itself with the hardware framebuffer in panel, this would make a lots
of sense to save the power consumption.
For example, when desktop haven't change the context for a long time,
then we could refresh the data to the hardware framebuffer of panel,
and then let panel enter into PSR mode. After that system could poweroff
the LCDC controller and eDP controller, just let panel refresh the screen
by itself.
It's hard to decide when panel should enter into PSR or exit from PSR, in
this time I chose to let the drm_vblank enable/disable event driver the PSR.
This thread is based on Mark's RK3399 VOP thread[0] and my RK3399 eDP
thread[1].
[0]: https://patchwork.kernel.org/patch/8886041/
[1]: https://patchwork.kernel.org/patch/9132713/
BR.
- Yakir
Changes in v2:
- Introduce in v2, splite the common Analogix DP changes out
- introduce in v2, split VOP line flag changes out
- Remove vblank notify out (Daniel)
- Create a psr_active() callback in vop data struct.
Yakir Yang (3):
drm: bridge/analogix_dp: add the PSR function support
drm/rockchip: vop: add line flag function support
drm/rockchip: analogix_dp: add PSR support
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 69 ++++++++++++++
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h | 4 +
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c | 54 +++++++++++
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h | 28 ++++++
drivers/gpu/drm/rockchip/Makefile | 2 +-
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 64 ++++++++++++-
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 7 ++
drivers/gpu/drm/rockchip/rockchip_drm_notify.c | 54 +++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_notify.h | 23 +++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 104 +++++++++++++++++++++
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 3 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 2 +
include/drm/bridge/analogix_dp.h | 3 +
13 files changed, 415 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_notify.c
create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_notify.h
--
1.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2016-06-02 12:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 12:57 Yakir Yang [this message]
2016-06-02 12:57 ` [RFC PATCH v2 1/3] drm: bridge/analogix_dp: add the PSR function support Yakir Yang
2016-06-02 13:41 ` Yakir Yang
2016-06-02 12:57 ` [RFC PATCH v2 2/3] drm/rockchip: vop: add line flag " Yakir Yang
2016-06-02 12:57 ` [RFC PATCH v2 3/3] drm/rockchip: analogix_dp: add PSR support Yakir Yang
2016-06-02 13:18 ` Daniel Vetter
2016-06-02 13:37 ` 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=1464872228-18292-1-git-send-email-ykk@rock-chips.com \
--to=ykk@rock-chips.com \
--cc=daniel.vetter@ffwll.ch \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=tfiga@chromium.org \
--cc=treding@nvidia.com \
--cc=yzq@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox