linux-stable/drivers/gpu/drm/meson
Martin Blumenstingl 1a9e51bef8 drm/meson: improve encoder probe / initialization error handling
Rename meson_encoder_{cvbs,dsi,hdmi}_init() to
meson_encoder_{cvbs,dsi,hdmi}_probe() so it's clear that these functions
are used at probe time during driver initialization. Also switch all
error prints inside those functions to use dev_err_probe() for
consistency.

This makes the code more straight forward to read and makes the error
prints within those functions consistent (by logging all -EPROBE_DEFER
with dev_dbg(), while actual errors are logged with dev_err() and get
the error value printed).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240218175035.1948165-1-martin.blumenstingl@googlemail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240218175035.1948165-1-martin.blumenstingl@googlemail.com
2024-02-19 09:48:41 +01:00
..
Kconfig drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
Makefile drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
meson_crtc.c
meson_crtc.h
meson_drv.c drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_drv.h drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
meson_dw_hdmi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
meson_dw_hdmi.h
meson_dw_mipi_dsi.c drm/meson: Convert to platform remove callback returning void 2023-11-21 09:18:53 +01:00
meson_dw_mipi_dsi.h drm/meson: add support for MIPI-DSI transceiver 2023-06-01 16:10:24 +02:00
meson_encoder_cvbs.c drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_encoder_cvbs.h drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_encoder_dsi.c drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_encoder_dsi.h drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_encoder_hdmi.c drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_encoder_hdmi.h drm/meson: improve encoder probe / initialization error handling 2024-02-19 09:48:41 +01:00
meson_osd_afbcd.c
meson_osd_afbcd.h
meson_overlay.c
meson_overlay.h
meson_plane.c
meson_plane.h
meson_rdma.c
meson_rdma.h
meson_registers.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00
meson_vclk.c
meson_vclk.h
meson_venc.c drm/meson: venc: include linux/bitfield.h 2023-06-02 15:47:52 +02:00
meson_venc.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00
meson_viu.c
meson_viu.h
meson_vpp.c drm/meson: fix 1px pink line on GXM when scaling video overlay 2023-03-06 09:42:01 +01:00
meson_vpp.h drm/meson: venc: add ENCL encoder setup for MIPI-DSI output 2023-06-01 16:10:22 +02:00