linux-stable/drivers/gpu/drm/vc4
Hui Tang 6fed53de56
drm/vc4: hdmi: Fix build error for implicit function declaration
drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_connector_detect’:
drivers/gpu/drm/vc4/vc4_hdmi.c:228:7: error: implicit declaration of function ‘gpiod_get_value_cansleep’; did you mean ‘gpio_get_value_cansleep’? [-Werror=implicit-function-declaration]
   if (gpiod_get_value_cansleep(vc4_hdmi->hpd_gpio))
       ^~~~~~~~~~~~~~~~~~~~~~~~
       gpio_get_value_cansleep
  CC [M]  drivers/gpu/drm/vc4/vc4_validate.o
  CC [M]  drivers/gpu/drm/vc4/vc4_v3d.o
  CC [M]  drivers/gpu/drm/vc4/vc4_validate_shaders.o
  CC [M]  drivers/gpu/drm/vc4/vc4_debugfs.o
drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_bind’:
drivers/gpu/drm/vc4/vc4_hdmi.c:2883:23: error: implicit declaration of function ‘devm_gpiod_get_optional’; did you mean ‘devm_clk_get_optional’? [-Werror=implicit-function-declaration]
  vc4_hdmi->hpd_gpio = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN);
                       ^~~~~~~~~~~~~~~~~~~~~~~
                       devm_clk_get_optional
drivers/gpu/drm/vc4/vc4_hdmi.c:2883:59: error: ‘GPIOD_IN’ undeclared (first use in this function); did you mean ‘GPIOF_IN’?
  vc4_hdmi->hpd_gpio = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN);
                                                           ^~~~~~~~
                                                           GPIOF_IN
drivers/gpu/drm/vc4/vc4_hdmi.c:2883:59: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors

Fixes: 6800234cee ("drm/vc4: hdmi: Convert to gpiod")
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220510135148.247719-1-tanghui20@huawei.com
2022-05-12 11:01:19 +02:00
..
Kconfig drm/vc4: Fix build error when CONFIG_DRM_VC4=y && CONFIG_RASPBERRYPI_FIRMWARE=m 2022-04-20 10:42:35 +02:00
Makefile
vc4_bo.c drm/vc4: remove redundant assignment of variable size 2022-01-14 14:14:56 +01:00
vc4_crtc.c drm/vc4: crtc: Fix runtime_pm reference counting 2022-02-17 17:27:59 +01:00
vc4_debugfs.c drm/vc4: Leverage the load tracker on the BCM2711 2021-11-04 10:36:25 +01:00
vc4_dpi.c
vc4_drv.c Driver core changes for 5.18-rc1 2022-03-28 12:41:28 -07:00
vc4_drv.h drm/vc4: crtc: Copy assigned channel to the CRTC 2021-11-05 12:53:22 +01:00
vc4_dsi.c drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage 2022-04-21 09:09:24 +02:00
vc4_fence.c
vc4_gem.c
vc4_hdmi.c drm/vc4: hdmi: Fix build error for implicit function declaration 2022-05-12 11:01:19 +02:00
vc4_hdmi.h Linux 5.17-rc6 2022-02-28 14:57:14 +10:00
vc4_hdmi_phy.c drm/vc4: hdmi: Add a spinlock to protect register access 2021-11-05 12:53:24 +01:00
vc4_hdmi_regs.h drm/vc4: hdmi: Add a spinlock to protect register access 2021-11-05 12:53:24 +01:00
vc4_hvs.c drm/vc4: crtc: Copy assigned channel to the CRTC 2021-11-05 12:53:22 +01:00
vc4_irq.c
vc4_kms.c drm/vc4: kms: Wait for the commit before increasing our clock rate 2021-12-15 12:10:50 +01:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: plane: Add support for YUV color encodings and ranges 2021-12-16 11:23:23 +01:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: hdmi: Replace CSC_CTL hardcoded value by defines 2022-01-25 10:02:45 +01:00
vc4_render_cl.c
vc4_trace.h
vc4_trace_points.c
vc4_txp.c drm/vc4: crtc: Copy assigned channel to the CRTC 2021-11-05 12:53:22 +01:00
vc4_v3d.c
vc4_validate.c
vc4_validate_shaders.c
vc4_vec.c