Re: [PATCH] drm/bridge: Centralize error message when bridge attach fails

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

 



On 15/04/2021 04:47, Laurent Pinchart wrote:
Being informed of a failure to attach a bridge is useful, and many
drivers prints an error message in that case. Move the message to
drm_bridge_attach() to avoid code duplication.

Suggested-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
---
  drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |  9 +--------
  drivers/gpu/drm/bridge/analogix/anx7625.c          |  5 +----
  drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |  1 -
  drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c      | 10 +---------
  drivers/gpu/drm/drm_bridge.c                       | 10 ++++++++++
  drivers/gpu/drm/exynos/exynos_dp.c                 |  5 +----
  drivers/gpu/drm/exynos/exynos_hdmi.c               |  5 +----
  drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c       |  9 +--------
  drivers/gpu/drm/imx/dcss/dcss-kms.c                |  5 +----
  drivers/gpu/drm/imx/imx-ldb.c                      |  4 +---
  drivers/gpu/drm/imx/parallel-display.c             |  5 +----
  drivers/gpu/drm/ingenic/ingenic-drm-drv.c          |  4 +---
  drivers/gpu/drm/kmb/kmb_dsi.c                      |  1 -
  drivers/gpu/drm/mcde/mcde_dsi.c                    |  9 +--------
  drivers/gpu/drm/mediatek/mtk_dpi.c                 |  4 +---
  drivers/gpu/drm/mediatek/mtk_hdmi.c                |  5 +----
  drivers/gpu/drm/omapdrm/omap_drv.c                 |  6 +-----
  drivers/gpu/drm/rockchip/rockchip_lvds.c           |  5 +----
  drivers/gpu/drm/rockchip/rockchip_rgb.c            |  5 +----
  drivers/gpu/drm/sti/sti_dvo.c                      |  4 +---
  drivers/gpu/drm/sun4i/sun4i_lvds.c                 |  4 +---
  drivers/gpu/drm/sun4i/sun4i_rgb.c                  |  4 +---
  drivers/gpu/drm/tegra/rgb.c                        |  5 +----
  drivers/gpu/drm/tidss/tidss_kms.c                  |  4 +---
  drivers/gpu/drm/tilcdc/tilcdc_external.c           |  4 +---
  drivers/gpu/drm/vc4/vc4_dsi.c                      |  4 +---
  26 files changed, 33 insertions(+), 103 deletions(-)

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>

 Tomi

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://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