linux-stable/drivers/gpu/drm/imx
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
..
dw_hdmi-imx.c drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback 2017-06-05 12:09:50 +05:30
imx-drm-core.c drm/imx: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb() 2017-09-16 14:05:54 +02:00
imx-drm.h drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
imx-ldb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
imx-tve.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
ipuv3-crtc.c drm: Add old state pointer to CRTC .enable() helper function 2017-06-30 14:53:14 +02:00
ipuv3-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
ipuv3-plane.h drm/imx: ipuv3-plane: add support for separate alpha planes 2017-03-15 15:42:33 +01:00
Kconfig drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
Makefile drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +02:00
parallel-display.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00