OpenCloudOS-Kernel/drivers/gpu/drm/mediatek
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/mediatek: add ARM_SMCCC dependency 2016-08-11 08:42:01 +02:00
Makefile drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_cec.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_cec.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_disp_color.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_ovl.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_disp_rdma.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_dpi_regs.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_crtc.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_crtc.h drm: mediatek: use vblank hooks in struct drm_crtc_funcs 2017-02-21 11:17:54 -05:00
mtk_drm_ddp.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_drm_ddp.h drm/mediatek: add shadow register support 2017-04-08 00:02:13 +08:00
mtk_drm_ddp_comp.c drm: Convert to using %pOF instead of full_name 2017-07-26 13:45:06 +02:00
mtk_drm_ddp_comp.h drm/mediatek: add BLS component 2017-04-08 00:02:13 +08:00
mtk_drm_drv.c drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_drv.h drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_fb.c drm/mediatek: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:35:02 -04:00
mtk_drm_fb.h
mtk_drm_gem.c drm/mediatek: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:35:02 -04:00
mtk_drm_gem.h drm/mediatek: Use .dumb_map_offset and .dumb_destroy defaults 2017-07-29 14:00:11 +02:00
mtk_drm_plane.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
mtk_drm_plane.h drm/mediatek: Remove mtk_drm_plane 2016-08-08 14:20:00 -04:00
mtk_dsi.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
mtk_hdmi.c drm/drivers: drop redundant drm_edid_to_eld() calls 2017-11-07 17:43:35 +02:00
mtk_hdmi.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_ddc.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_regs.h drm/mediatek: enable hdmi output control bit 2016-06-16 16:30:38 +02:00
mtk_mipi_tx.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_mt8173_hdmi_phy.c drm/mediatek: enhance the HDMI driving current 2016-10-19 09:06:53 +08:00