linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: linux-kernel@vger.kernel.org
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	intel-gfx-trybot@lists.freedesktop.org,
	"Emil Velikov" <emil.l.velikov@gmail.com>,
	"Daniel Vetter" <daniel.vetter@intel.com>,
	"Benjamin Gaignard" <benjamin.gaignard@linaro.org>,
	"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
	"Mark Yao" <mark.yao@rock-chips.com>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Jani Nikula" <jani.nikula@linux.intel.com>,
	dri-devel@lists.freedesktop.org,
	linux-rockchip@lists.infradead.org,
	"David Airlie" <airlied@linux.ie>,
	"Archit Taneja" <architt@codeaurora.org>,
	"Sean Paul" <seanpaul@chromium.org>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/5] drm/dp: Implement CRC debugfs API
Date: Fri,  6 Jan 2017 15:30:24 +0100	[thread overview]
Message-ID: <20170106143029.11553-1-tomeu.vizoso@collabora.com> (raw)

Hi,

this series builds up on the API for exposing captured CRCs through
debugfs.

It adds new DP helpers for starting and stopping CRC capture and gets
the Rockchip driver to use it.

Also had to add a connector backpointer to the drm_dp_aux struct so we could
wait for the right vblank and store the CRCs afterwards, I will be glad
to hear about better alternatives.

With these patches, tests in IGT such as kms_pipe_crc_basic and
kms_plane do pass on RK3288.

Thanks,

Tomeu


Tomeu Vizoso (5):
  drm/dp: add connector backpointer to drm_dp_aux
  drm/bridge: analogix_dp: set connector to drm_dp_aux
  drm/dp: add helpers for capture of frame CRCs
  drm/bridge: analogix_dp: add helpers for capture of frame CRCs
  drm/rockchip: Implement CRC debugfs API

 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |  34 ++++--
 drivers/gpu/drm/drm_dp_helper.c                    | 118 +++++++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        |  48 +++++++++
 include/drm/bridge/analogix_dp.h                   |   3 +
 include/drm/drm_dp_helper.h                        |   9 ++
 5 files changed, 204 insertions(+), 8 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-01-06 14:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 14:30 Tomeu Vizoso [this message]
2017-01-06 14:30 ` [PATCH v3 1/5] drm/dp: add connector backpointer to drm_dp_aux Tomeu Vizoso
2017-01-06 15:56   ` Sean Paul
2017-01-09  9:03     ` Tomeu Vizoso
2017-01-09 16:43       ` Sean Paul
2017-01-06 14:30 ` [PATCH v3 2/5] drm/bridge: analogix_dp: set connector " Tomeu Vizoso
2017-01-06 14:30 ` [PATCH v3 3/5] drm/dp: add helpers for capture of frame CRCs Tomeu Vizoso
2017-01-06 15:56   ` Sean Paul
2017-01-09 13:24     ` Tomeu Vizoso
2017-01-06 14:30 ` [PATCH v3 4/5] drm/bridge: analogix_dp: " Tomeu Vizoso
2017-01-06 14:30 ` [PATCH v3 5/5] drm/rockchip: Implement CRC debugfs API Tomeu Vizoso
2017-01-06 15:56   ` Sean Paul
2017-01-09 13:25     ` Tomeu Vizoso

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=20170106143029.11553-1-tomeu.vizoso@collabora.com \
    --to=tomeu.vizoso@collabora.com \
    --cc=airlied@linux.ie \
    --cc=architt@codeaurora.org \
    --cc=benjamin.gaignard@linaro.org \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=heiko@sntech.de \
    --cc=intel-gfx-trybot@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mark.yao@rock-chips.com \
    --cc=seanpaul@chromium.org \
    --cc=thierry.reding@gmail.com \
    --cc=ville.syrjala@linux.intel.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;
as well as URLs for NNTP newsgroup(s).