linux_dsm_epyc7002/drivers/gpu/drm/omapdrm/dss
Laurent Pinchart 03af8157aa drm: omapdrm: Check the CRTC software state at enable/disable time
The omapdrm DSS manager enable/disable operations check the DSS manager
state to avoid double enabling/disabling. Check the CRTC software state
instead to decrease the dependency of the DRM layer to the DSS layer.
The dispc_mgr_is_enabled() function then be turned into a static
function, but needs to be moved up in its compilation unit to avoid a
forward declaration.

Add a WARN_ON to catch double enable or disable that should be prevented
by the DRM core and would be a clear sign of a bug. The warning should
eventually be removed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-12-19 11:24:58 +02:00
..
core.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dispc_coefs.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
dispc.c drm: omapdrm: Check the CRTC software state at enable/disable time 2016-12-19 11:24:58 +02:00
dispc.h drm/omapdrm: Add gamma table support to DSS dispc 2016-06-07 17:10:49 +03:00
display.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
dpi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
dsi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
dss_features.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss_features.h drm/omap: remove dss_feat_get_clk_source_name() 2016-05-19 20:19:04 +03:00
dss-of.c Revert "gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle" 2016-08-12 07:10:37 -04:00
dss.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss.h drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi4_core.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi4_core.h
hdmi4.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi5_core.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi5_core.h
hdmi5.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi_common.c drm/omap: Do not include video/omapdss.h directly in drivers 2016-06-03 16:06:37 +03:00
hdmi_phy.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
hdmi_pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
hdmi_wp.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
hdmi.h drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
Kconfig
Makefile
omapdss-boot-init.c
omapdss.h drm: omapdrm: Check the CRTC software state at enable/disable time 2016-12-19 11:24:58 +02:00
output.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
rfbi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
sdi.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
venc.c drm/omap: Use consistent name for struct videomode 2016-11-02 10:48:18 +02:00
video-pll.c Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00