OpenCloudOS-Kernel/drivers/gpu/drm/arm
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/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm/arm: Add support for Mali Display Processors 2016-06-15 17:29:22 +01:00
hdlcd_crtc.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
hdlcd_drv.c drm/arm/hdlcd: Use drm_gem_cma_print_info() 2017-11-11 11:23:42 +01:00
hdlcd_drv.h drm: hdlcd: Cleanup the atomic plane operations 2016-06-02 17:45:29 +01:00
hdlcd_regs.h drm: Add support for ARM's HDLCD controller. 2016-02-10 13:44:16 +00:00
malidp_crtc.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
malidp_drv.c drm/arm/mali: Use drm_gem_fb_create() 2017-08-27 19:29:46 +02:00
malidp_drv.h drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2017-05-22 09:49:48 +02:00
malidp_hw.c drm/mali-dp: Check PM status when sharing interrupt lines 2017-06-16 11:56:46 +01:00
malidp_hw.h drm: mali-dp: Check the mclk rate and allow up/down scaling 2017-04-24 13:28:09 +01:00
malidp_planes.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
malidp_regs.h drm: mali-dp: Enable image enhancement when scaling 2017-04-24 13:28:08 +01:00