OpenCloudOS-Kernel/drivers/gpu/drm/omapdrm/dss
Tomi Valkeinen 41613a1a7d drm/omap: fix crash if there's no video PLL
Commit 8a7eda7686 ("drm: omapdrm: dispc:
Pass DISPC pointer to remaining dispc API functions") made dpi.c use
ctx->pll even when there's no PLL, causing a crash at modeset on AM4
EVM, and presumably all OMAP2/3 boards.

Fix this by having struct dpi_data pointer in the ctx instead, giving
access to dispc without going through the pll.

Fixes: 8a7eda7686 ("drm: omapdrm: dispc: Pass DISPC pointer to remaining dispc API functions")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Keerthy <j-keerthy@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180405065537.29818-1-tomi.valkeinen@ti.com
2018-04-05 12:47:35 +03:00
..
Kconfig omapdrm: hdmi4: hook up the HDMI CEC support 2017-10-12 10:49:14 +03:00
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
base.c drm: omapdrm: dispc: Pass DISPC pointer to dispc_ops operations 2018-03-01 09:18:18 +02:00
core.c drm: omapdrm: Simplify platform registration 2017-12-19 11:21:32 +02:00
dispc.c drm/omap: cleanup color space conversion 2018-03-01 09:18:18 +02:00
dispc.h drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
dispc_coefs.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
display.c drm: omapdrm: dss: Make omapdss_default_get_timings static 2018-03-01 09:18:18 +02:00
dpi.c drm/omap: fix crash if there's no video PLL 2018-04-05 12:47:35 +03:00
dsi.c drm: omapdrm: dispc: Pass DISPC pointer to remaining dispc API functions 2018-03-01 09:18:18 +02:00
dss-of.c drm: omapdrm: dss: Don't export functions internal to omapdss-base 2018-03-01 09:18:18 +02:00
dss.c drm/omap: fix compile error when debugfs is disabled 2018-03-14 10:39:50 +02:00
dss.h drm/omap: fix compile error when DPI is disabled 2018-03-14 10:39:50 +02:00
hdmi.h drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi4.c drm/omap: Allow HDMI audio setup even if we do not have video configured 2018-03-01 09:18:18 +02:00
hdmi4_cec.c drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi4_cec.h omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support 2017-10-12 10:49:14 +03:00
hdmi4_core.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
hdmi4_core.h drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi5.c drm/omap: Allow HDMI audio setup even if we do not have video configured 2018-03-01 09:18:18 +02:00
hdmi5_core.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
hdmi5_core.h drm/omap: move omapdss & displays under omapdrm 2015-12-29 11:07:48 +02:00
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
hdmi_pll.c drm: omapdrm: dss: Store the registered plls array in struct dss_device 2018-03-01 09:18:18 +02:00
hdmi_wp.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
omapdss-boot-init.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omapdss.h drm/omap: add writeback funcs to dispc_ops 2018-03-01 09:18:18 +02:00
output.c drm: omapdrm: dss: Pass omap_drm_private pointer to dss_mgr_ops 2018-03-01 09:18:18 +02:00
pll.c drm: omapdrm: dss: Store the registered plls array in struct dss_device 2018-03-01 09:18:18 +02:00
sdi.c drm: omapdrm: sdi: Allocate the sdi private data structure dynamically 2018-03-01 09:18:18 +02:00
venc.c drm: omapdrm: venc: Allocate the venc private data structure dynamically 2018-03-01 09:18:18 +02:00
video-pll.c drm: omapdrm: dss: Store the registered plls array in struct dss_device 2018-03-01 09:18:18 +02:00