mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Yao <mark.yao@rock-chips.com>
To: David Airlie <airlied@linux.ie>, Heiko Stuebner <heiko@sntech.de>,
	dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Mark Yao <mark.yao@rock-chips.com>
Subject: [PATCH v2 0/8] drm/rockchip: covert to support atomic API
Date: Mon, 14 Dec 2015 16:32:03 +0800	[thread overview]
Message-ID: <1450081931-9709-1-git-send-email-mark.yao@rock-chips.com> (raw)

The series of patches coverting drm rockchip to atomic API, do some
cleanup and some fixes on atomic side.

TODO: fence is not support on current version.

Tested on rk3288 popmetal board.

All guys can test it with following url:
 test case: https://github.com/markyzq/libdrm.git atomictest
 kernel:
  https://github.com/markyzq/kernel-drm-rockchip.git drm-rockchip-next-12-11

Changes in v2:
- Optimization commit planes sequence.
- Get vblank count on atomic_begin to protect vblank event.
Advised by Daniel Stone
- Direct return -EINVAL when yuv address is not support, instead of adjust it.
- code formating and cleanup.
Advised by Thierry Reding & Daniel Vetter
- Hook mode_set into crtc enable instead of hack crtc enable on mode set.

v1: http://lists.freedesktop.org/archives/dri-devel/2015-November/095745.html

Mark Yao (8):
  drm/rockchip: Use new vblank api drm_crtc_vblank_*
  drm/rockchip: vop: replace dpms with enable/disable
  drm/rockchip: Convert to support atomic API
  drm/rockchip: Optimization vop mode set
  drm/rockchip: support atomic asynchronous commit
  drm/rockchip: direct config connecter gate and out_mode
  drm: bridge/dw_hdmi: add atomic API support
  drm/rockchip: dw_hdmi: use encoder enable function

 drivers/gpu/drm/bridge/dw_hdmi.c            |   23 +-
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c |   14 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c |   21 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.h |   19 +-
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c  |  112 ++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c |  775 +++++++++++----------------
 6 files changed, 480 insertions(+), 484 deletions(-)

-- 
1.7.9.5



             reply	other threads:[~2015-12-14  8:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14  8:32 Mark Yao [this message]
2015-12-14  8:32 ` [PATCH v2 1/8] drm/rockchip: Use new vblank api drm_crtc_vblank_* Mark Yao
2015-12-14  8:32 ` [PATCH v2 2/8] drm/rockchip: vop: replace dpms with enable/disable Mark Yao
2015-12-14  8:32 ` [PATCH v2 3/8] drm/rockchip: Convert to support atomic API Mark Yao
2015-12-14  8:32 ` [PATCH v2 4/8] drm/rockchip: Optimization vop mode set Mark Yao
2015-12-14  8:35 ` [PATCH v2 5/8] drm/rockchip: support atomic asynchronous commit Mark Yao
2015-12-14  8:36 ` [PATCH v2 6/8] drm/rockchip: direct config connecter gate and out_mode Mark Yao
2015-12-14  8:39 ` [PATCH v2 7/8] drm: bridge/dw_hdmi: add atomic API support Mark Yao
2015-12-14  8:40 ` [PATCH v2 8/8] drm/rockchip: dw_hdmi: use encoder enable function Mark Yao

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=1450081931-9709-1-git-send-email-mark.yao@rock-chips.com \
    --to=mark.yao@rock-chips.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.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

all inboxes | Powered by JetHome®