kernel_optimize_test/drivers/gpu/drm/vc4
Miaoqian Lin 0a2cef65b3 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
[ Upstream commit 3d0b93d92a2790337aa9d18cb332d02356a24126 ]

If the device is already in a runtime PM enabled state
pm_runtime_get_sync() will return 1.

Also, we need to call pm_runtime_put_noidle() when pm_runtime_get_sync()
fails, so use pm_runtime_resume_and_get() instead. this function
will handle this.

Fixes: 4078f57571 ("drm/vc4: Add DSI driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420135008.2757-1-linmq006@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-27 13:53:56 +02:00
..
Kconfig
Makefile
vc4_bo.c drm/vc4: fix error code in vc4_create_object() 2021-12-01 09:19:04 +01:00
vc4_crtc.c drm/vc4: crtc: Skip the TXP 2021-07-19 09:44:57 +02:00
vc4_debugfs.c
vc4_dpi.c
vc4_drv.c drm/vc4: drv: Remove unused variable 2020-11-03 10:11:05 +01:00
vc4_drv.h drm/vc4: fix argument ordering in vc4_crtc_get_margins() 2021-07-19 09:44:37 +02:00
vc4_dsi.c drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage 2022-04-27 13:53:56 +02:00
vc4_fence.c
vc4_gem.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_hdmi_phy.c
vc4_hdmi_regs.h drm/vc4: hdmi: Fix up CEC registers 2021-03-04 11:37:48 +01:00
vc4_hdmi.c drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd. 2022-02-16 12:54:24 +01:00
vc4_hdmi.h drm/vc4: hdmi: Disable Wifi Frequencies 2020-11-19 15:46:08 +01:00
vc4_hvs.c drm/vc4: Correct lbm size and calculation 2021-02-03 23:28:43 +01:00
vc4_irq.c
vc4_kms.c drm/vc4: kms: Don't disable the muxing of an active CRTC 2020-11-23 17:59:30 +01:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: hvs: Fix buffer overflow with the dlist handling 2021-02-17 11:02:25 +01:00
vc4_qpu_defines.h
vc4_regs.h
vc4_render_cl.c
vc4_trace_points.c
vc4_trace.h
vc4_txp.c drm/vc4: txp: Properly set the possible_crtcs mask 2021-07-19 09:44:57 +02:00
vc4_v3d.c drm/vc4: Use devm_drm_dev_alloc 2020-11-02 12:14:50 +01:00
vc4_validate_shaders.c
vc4_validate.c
vc4_vec.c