linux_dsm_epyc7002/drivers/gpu/drm/sti
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
..
Kconfig drm/sti: Depend on OF rather than selecting it 2018-04-05 14:04:17 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
NOTES
sti_awg_utils.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_awg_utils.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_compositor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_crtc.c gpu: drm: sti: fix spelling mistake: "initialze" -> "initialize" 2018-05-02 13:09:49 +02:00
sti_crtc.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_cursor.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_cursor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_drv.c drm/sti: Let core take care of normalizing the zpos 2018-03-28 09:45:44 +03:00
sti_drv.h drm/sti: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:41 +01:00
sti_dvo.c drm/panel: Make of_drm_find_panel() return an ERR_PTR() instead of NULL 2018-07-10 17:59:05 +02:00
sti_gdp.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_gdp.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hda.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi_tx3g4c28phy.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm: add missing ctx argument to plane transitional helpers 2018-07-03 09:30:19 +02:00
sti_mixer.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_mixer.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_plane.c drm/sti: Stop consulting plane->fb 2018-03-29 19:14:21 +03:00
sti_plane.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_tvout.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vid.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.c gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00