[PATCH v2 0/3] drm_of_encoder_active_endpoint helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux