linux/drivers/gpu/drm/exynos
Inki Dae 445d3bed75 drm/exynos: use pm_runtime_resume_and_get()
Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
to deal with usage counter. pm_runtime_get_sync() increases the
usage counter even when it failed, which makes callers to forget
to decrease the usage counter and resulted in reference leak.

pm_runtime_resume_and_get() function decreases the usage counter
when it failed internally so it can avoid the reference leak.

Changelog v1:
- Fix an build error reported by kernel test robot of Intel.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reported-by: kernel test robot <lkp@intel.com>
2021-06-11 10:56:38 +09:00
..
exynos7_drm_decon.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos5433_drm_decon.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_dp.c drm-misc-next for 5.8: 2020-04-22 10:41:35 +10:00
exynos_drm_crtc.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
exynos_drm_crtc.h
exynos_drm_dma.c dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
exynos_drm_dpi.c drm: Remove unnecessary drm_panel_attach and drm_panel_detach 2020-08-08 09:06:33 +02:00
exynos_drm_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
exynos_drm_drv.h drm/exynos: Fix cleanup of IOMMU related objects 2020-03-10 13:25:18 +09:00
exynos_drm_dsi.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_fb.c drm/exynos: Don't set allow_fb_modifiers explicitly 2021-04-20 10:41:47 +02:00
exynos_drm_fb.h
exynos_drm_fbdev.c drm/exynos: gem: Fix sparse warning 2020-08-26 16:03:05 +09:00
exynos_drm_fbdev.h
exynos_drm_fimc.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_fimd.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_g2d.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c drm/exynos: Remove empty exynos_drm_gem_prime_{vmap,vunmap}() 2020-11-09 09:16:41 +01:00
exynos_drm_gem.h drm/exynos: Remove empty exynos_drm_gem_prime_{vmap,vunmap}() 2020-11-09 09:16:41 +01:00
exynos_drm_gsc.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_ipp.c drm/exynos/exynos_drm_ipp: Fix documentation for 'exynos_drm_ipp_get_{caps,res}_ioctl()' 2021-06-03 13:33:01 +02:00
exynos_drm_ipp.h
exynos_drm_mic.c drm/exynos: Use pm_runtime_resume_and_get() to replace open coding 2021-06-11 10:56:27 +09:00
exynos_drm_plane.c drm: Use state helper instead of the plane state pointer 2021-02-25 08:05:28 +01:00
exynos_drm_plane.h
exynos_drm_rotator.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_scaler.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_drm_vidi.c drm/exynos-vidi: convert platform driver to use dev_groups 2020-05-18 13:19:18 +09:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
exynos_mixer.c drm/exynos: use pm_runtime_resume_and_get() 2021-06-11 10:56:38 +09:00
Kconfig drm/exynos: Stop using frame_vector helpers 2021-01-12 14:14:09 +01:00
Makefile
regs-decon7.h
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h