Files
android_kernel_xiaomi_sm8450/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
..
2015-08-13 13:49:37 +02:00
2017-08-17 17:57:14 +02:00
2015-08-13 13:47:45 +02:00
2017-04-05 18:11:47 +02:00
2017-04-05 18:11:47 +02:00
2013-10-31 09:55:45 +01:00
2016-07-04 11:34:31 +02:00
2017-08-17 17:57:08 +02:00
2015-01-27 10:14:40 +01:00
2014-04-04 09:12:51 +02:00
2017-08-17 17:57:14 +02:00
2017-09-26 11:08:17 +02:00
2017-04-05 18:11:48 +02:00