linux/drivers/gpu/drm/vc4
Zou Wei 5e4322a8b2
drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/1621840854-105978-1-git-send-email-zou_wei@huawei.com
2021-05-25 10:32:56 +02:00
..
Kconfig
Makefile
vc4_bo.c drm/vc4: Initialize vc4_drm_driver with CMA helper defaults 2021-01-15 10:39:05 +01:00
vc4_crtc.c drm/vc4: crtc: Lookup the encoder from the register at boot 2021-05-24 14:42:07 +02:00
vc4_debugfs.c drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers 2020-11-18 11:51:58 +01:00
vc4_dpi.c
vc4_drv.c drm/vc4: hvs: Make the HVS bind first 2021-05-24 14:42:30 +02:00
vc4_drv.h drm/vc4: fix argument ordering in vc4_crtc_get_margins() 2021-04-29 12:18:54 +02:00
vc4_dsi.c drm/vc4: dsi: Add configuration for BCM2711 DSI1 2020-12-07 10:33:33 +01:00
vc4_fence.c
vc4_gem.c drm/vc4: remove unneeded variable: "ret" 2021-02-09 17:16:57 +01:00
vc4_hdmi.c drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co() 2021-05-25 10:32:56 +02:00
vc4_hdmi.h drm/vc4: hdmi: Add a workqueue to set scrambling 2021-05-24 14:44:04 +02:00
vc4_hdmi_phy.c drm/vc4: hdmi: Use the connector state pixel rate for the PHY 2020-12-16 10:11:48 +01:00
vc4_hdmi_regs.h drm/vc4: hdmi: Enable the scrambler 2021-05-24 14:43:36 +02:00
vc4_hvs.c drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
vc4_irq.c
vc4_kms.c drm/vc4: Don't set allow_fb_modifiers explicitly 2021-04-15 13:35:15 +02:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c Merge drm/drm-fixes into drm-next 2021-04-13 23:15:09 +02:00
vc4_qpu_defines.h
vc4_regs.h
vc4_render_cl.c
vc4_trace.h
vc4_trace_points.c
vc4_txp.c drm/vc4: txp: Properly set the possible_crtcs mask 2021-05-24 14:41:28 +02:00
vc4_v3d.c
vc4_validate.c
vc4_validate_shaders.c
vc4_vec.c drm/vc4: Separate VEC compatible variants 2021-05-24 13:52:33 +02:00