linux/drivers/gpu/drm/exynos
Boris Brezillon 5fa8e4a221 drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL
Right now, the DRM panel logic returns NULL when a panel pointing to
the passed OF node is not present in the list of registered panels.

Most drivers interpret this NULL value as -EPROBE_DEFER, but we are
about to modify the semantic of of_drm_find_panel() and let the
framework return -ENODEV when the device node we're pointing to has
a status property that is not equal to "okay" or "ok".

Let's first patch the of_drm_find_panel() implementation to return
ERR_PTR(-EPROBE_DEFER) instead of NULL and patch all callers to replace
the '!panel' check by an 'IS_ERR(panel)' one.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-2-boris.brezillon@bootlin.com
2018-07-10 17:59:05 +02:00
..
exynos7_drm_decon.c drm/exynos/decon: Move headers from global to local place 2018-01-02 08:38:00 +09:00
exynos5433_drm_decon.c drm/exynos: decon: Add support for hardware windows no 4 and 5 2018-05-24 10:21:15 +09:00
exynos_dp.c drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL 2018-07-10 17:59:05 +02:00
exynos_drm_core.c drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_crtc.c drm/exynos: Fix error value in exynos_drm_crtc_get_by_type() 2018-05-24 16:47:39 +09:00
exynos_drm_crtc.h drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_dpi.c drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL 2018-07-10 17:59:05 +02:00
exynos_drm_drv.c - Add S5PV210 FIMD variant support. 2018-05-15 15:37:07 +10:00
exynos_drm_drv.h - Add S5PV210 FIMD variant support. 2018-05-15 15:37:07 +10:00
exynos_drm_dsi.c drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL 2018-07-10 17:59:05 +02:00
exynos_drm_fb.c drm-misc-next for v4.18: 2018-04-30 09:32:43 +10:00
exynos_drm_fb.h
exynos_drm_fbdev.c drm/exynos: Use drm_fb_helper_lastclose() and _poll_changed() 2017-12-08 13:04:53 +01:00
exynos_drm_fbdev.h drm/exynos: Use drm_fb_helper_lastclose() and _poll_changed() 2017-12-08 13:04:53 +01:00
exynos_drm_fimc.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
exynos_drm_fimd.c drm/exynos: fimd: Add support for S5PV210 FIMD variant 2018-05-09 09:30:48 +09:00
exynos_drm_g2d.c drm/exynos: g2d: Delete an error message for a failed memory allocation in two functions 2018-02-20 09:16:18 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c gpu: drm: exynos: Change return type to vm_fault_t 2018-05-09 09:27:25 +09:00
exynos_drm_gem.h gpu: drm: exynos: Change return type to vm_fault_t 2018-05-09 09:27:25 +09:00
exynos_drm_gsc.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
exynos_drm_iommu.c drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h 2016-07-13 23:06:06 +09:00
exynos_drm_iommu.h iommu/dma: Avoid PCI host bridge windows 2016-09-16 09:34:22 +01:00
exynos_drm_ipp.c drm/exynos: ipp: Add IPP v2 framework 2018-05-10 08:48:53 +09:00
exynos_drm_ipp.h drm/exynos: ipp: Add IPP v2 framework 2018-05-10 08:48:53 +09:00
exynos_drm_mic.c Merge tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-09-28 05:46:15 +10:00
exynos_drm_plane.c Merge drm-upstream/drm-next into drm-misc-next 2018-06-20 13:22:22 -03:00
exynos_drm_plane.h drm/exynos: set plane possible_crtcs in exynos_plane_init 2017-06-01 16:21:34 +09:00
exynos_drm_rotator.c drm/exynos: rotator: Convert driver to IPP v2 core API 2018-05-10 08:51:26 +09:00
exynos_drm_scaler.c drm/exynos: scaler: fix static checker warning 2018-05-25 13:09:57 +09:00
exynos_drm_vidi.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
exynos_drm_vidi.h
exynos_hdmi.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
exynos_mixer.c drm/exynos: mixer: avoid Oops in vp_video_buffer() 2018-05-04 09:39:59 +09:00
Kconfig drm/exynos: Add driver for Exynos Scaler module 2018-05-10 08:53:23 +09:00
Makefile drm/exynos: Add driver for Exynos Scaler module 2018-05-10 08:53:23 +09:00
regs-decon7.h drm/exynos/decon: Add include guard to the Exynos7 header 2018-01-02 08:38:49 +09:00
regs-decon5433.h drm/exynos/decon: Add include guard to the Exynos7 header 2018-01-02 08:38:49 +09:00
regs-fimc.h drm/exynos: fix comparison to bitshift when dealing with a mask 2018-02-20 09:16:18 +09:00
regs-gsc.h
regs-hdmi.h drm: exynos: Use proper macro definition for HDMI_I2S_PIN_SEL_1 2018-02-20 10:51:36 +09:00
regs-mixer.h drm/exynos/mixer: fix synchronization check in interlaced mode 2018-05-04 09:39:59 +09:00
regs-rotator.h
regs-scaler.h drm/exynos: Add driver for Exynos Scaler module 2018-05-10 08:53:23 +09:00
regs-vp.h