From: Philipp Zabel <p.zabel@pengutronix.de>
To: David Airlie <airlied@linux.ie>
Cc: kernel@pengutronix.de, dri-devel@lists.freedesktop.org,
Andy Yan <andy.yan@rock-chips.com>,
Grant Likely <grant.likely@linaro.org>,
Russell King <rmk+kernel@arm.linux.org.uk>
Subject: [PATCH v2 0/3] drm_of_encoder_active_endpoint helpers
Date: Tue, 19 May 2015 16:30:34 +0200 [thread overview]
Message-ID: <1432045837-4147-1-git-send-email-p.zabel@pengutronix.de> (raw)
Hi,
this patch factors out the mostly identical imx_drm_encoder_get_mux_id and
rockchip_drm_encoder_get_mux_id functions into a common helper to parse
the active endpoint and two inline functions to return its id or port id.
All prerequisites are now upstream. I'd like to get an Acked-by from the
Rockchip developers and then to queue this series through imx-drm.
Changes since v1:
- Added missing struct drm_encoder declaration to drm_of.h
- Rebased onto v4.1-rc2
regards
Philipp
Philipp Zabel (3):
drm: add drm_of_encoder_active_endpoint helpers
drm/imx: remove imx_drm_encoder_get_mux_id
drm/rockchip: remove rockchip_drm_encoder_get_mux_id
drivers/gpu/drm/drm_of.c | 34 +++++++++++++++++++++++++++++
drivers/gpu/drm/imx/dw_hdmi-imx.c | 2 +-
drivers/gpu/drm/imx/imx-drm-core.c | 30 -------------------------
drivers/gpu/drm/imx/imx-drm.h | 2 --
drivers/gpu/drm/imx/imx-ldb.c | 4 ++--
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +-
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 30 -------------------------
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 2 --
include/drm/drm_of.h | 33 ++++++++++++++++++++++++++++
9 files changed, 71 insertions(+), 68 deletions(-)
--
2.1.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2015-05-19 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 14:30 Philipp Zabel [this message]
2015-05-19 14:30 ` [PATCH v2 1/3] drm: add drm_of_encoder_active_endpoint helpers Philipp Zabel
2015-05-19 14:30 ` [PATCH v2 2/3] drm/imx: remove imx_drm_encoder_get_mux_id Philipp Zabel
2015-05-19 14:30 ` [PATCH v2 3/3] drm/rockchip: remove rockchip_drm_encoder_get_mux_id Philipp Zabel
2015-05-27 7:51 ` Philipp Zabel
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=1432045837-4147-1-git-send-email-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=airlied@linux.ie \
--cc=andy.yan@rock-chips.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=grant.likely@linaro.org \
--cc=kernel@pengutronix.de \
--cc=rmk+kernel@arm.linux.org.uk \
/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).