OpenCloudOS-Kernel/drivers/gpu/drm/tegra
Ville Syrjälä 10b47ee02d drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state()
drm_plane_helper_check_state() is supposed to do things the atomic way,
so it should not be inspecting crtc->enabled. Rather we should be
looking at crtc_state->enable.

We have a slight complication due to drm_plane_helper_check_update()
reusing drm_plane_helper_check_state() for non-atomic drivers. Thus
we'll have to pass the crtc_state in manally and construct a fake
crtc_state in drm_plane_helper_check_update().

v2: Fix the WARNs about plane_state->crtc matching crtc_state->crtc

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171101201558.6059-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2017-11-20 20:33:21 +02:00
..
Kconfig drm/tegra: Add CONFIG_OF dependency 2017-08-17 17:57:08 +02:00
Makefile drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
dc.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
dc.h drm/tegra: sor: Add HDMI support 2015-08-13 13:49:37 +02:00
dpaux.c drm/tegra: dpaux: Trace register accesses 2017-08-17 17:57:16 +02:00
dpaux.h drm/tegra: dpaux: Configure pads as I2C by default 2015-08-13 13:47:47 +02:00
drm.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
drm.h drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
dsi.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
dsi.h drm/tegra: dsi: Add Tegra210 support 2015-08-13 13:47:45 +02:00
falcon.c drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
falcon.h drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
fb.c drm/tegra: switch to drm_*_get(), drm_*_put() helpers 2017-08-17 17:57:09 +02:00
gem.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
gem.h drm/tegra: Use .dumb_map_offset and .dumb_destroy defaults 2017-08-16 20:13:48 +02:00
gr2d.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
gr2d.h drm/tegra: Use symbolic names for gr2d registers 2013-10-31 09:55:44 +01:00
gr3d.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
hdmi.h drm/tegra: hdmi: Enable audio over HDMI 2016-07-04 11:34:31 +02:00
mipi-phy.c drm/tegra: dsi: Adjust D-PHY timing 2015-01-27 10:14:40 +01:00
mipi-phy.h drm/tegra: Relicense under GPL v2 2014-04-04 09:12:51 +02:00
output.c drm/drivers: drop redundant drm_edid_to_eld() calls 2017-11-07 17:43:35 +02:00
rgb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sor.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
sor.h drm/tegra: sor: Do not support deep color modes 2016-07-04 11:33:21 +02:00
trace.c drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
trace.h drm/tegra: trace: Fix path to include 2017-09-26 11:08:17 +02:00
vic.c drm/tegra: Set MODULE_FIRMWARE for the VIC 2017-08-17 17:57:09 +02:00
vic.h drm/tegra: Add VIC support 2017-04-05 18:11:48 +02:00