OpenCloudOS-Kernel/drivers/gpu/drm
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
..
amd drm/drivers: drop redundant drm_edid_to_eld() calls 2017-11-07 17:43:35 +02:00
arc drm/arc: Use drm_gem_cma_print_info() 2017-11-11 11:23:15 +01:00
arm drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
armada drm/armada: Replace drm_framebuffer_reference/unreference() with _get/put() 2017-10-16 15:02:44 -04:00
ast Merge tag 'drm-misc-next-2017-08-16' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-08-17 07:33:41 +10:00
atmel-hlcdc drm/atmel-hlcdc: Use drm_gem_fb_create() 2017-08-27 19:30:15 +02:00
bochs drm/bochs: Use the drm_driver.dumb_destroy default 2017-08-16 20:18:55 +02:00
bridge drm/bridge/sii8620: add DVI mode support 2017-11-16 13:48:21 +01:00
cirrus drm/cirrus: add create_handle support. 2017-11-10 12:45:34 +01:00
etnaviv Merge branch 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux into drm-fixes 2017-09-28 05:48:53 +10:00
exynos Merge tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-09-28 05:46:15 +10:00
fsl-dcu drm/fsl-dcu: Use drm_gem_fb_create() 2017-10-01 17:00:20 +02:00
gma500 gpu: gma500: remove unneeded DRIVER_LICENSE #define 2017-11-20 11:16:31 +01:00
hisilicon drm/kirin: Checking for IS_ERR() instead of NULL 2017-10-12 14:09:45 -04:00
i2c drm/drivers: drop redundant drm_edid_to_eld() calls 2017-11-07 17:43:35 +02:00
i810
i915 drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
imx drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
lib mm: treewide: remove GFP_TEMPORARY allocation flag 2017-09-13 18:53:16 -07:00
mediatek drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
meson drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
mga
mgag200 drm/mgag200: Use the drm_driver.dumb_destroy default 2017-08-16 20:18:22 +02:00
msm drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
mxsfb drm/mxsfb: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb() 2017-10-01 17:02:20 +02:00
nouveau drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
omapdrm drm/omap: work-around for omap3 display enable 2017-08-23 12:22:12 +03:00
panel drm/panel: simple: Add Mitsubishi AA070MC01 panel support 2017-11-17 12:42:24 +01:00
pl111 drm/pl111: Add handling of Versatile platforms 2017-09-10 23:58:42 +02:00
qxl drm: qxl: remove pr_info message, stops log spamming 2017-11-10 12:45:35 +01:00
r128
radeon drm/drivers: drop redundant drm_edid_to_eld() calls 2017-11-07 17:43:35 +02:00
rcar-du drm/rcar-du: Use drm_gem_fb_create() 2017-10-01 17:02:53 +02:00
rockchip drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
savage
selftests drm/selftests/mm: Insert cond_resched() between insert modes 2017-11-07 15:58:07 +02:00
shmobile drm/shmobile: Use drm_gem_fb_create() 2017-10-01 17:03:22 +02:00
sis
sti drm: sti: remove vtg_remove 2017-11-08 14:50:45 +01:00
stm drm/stm: ltdc: add a 2nd endpoint 2017-11-07 14:47:39 +01:00
sun4i drm/sun4i: Add support for A20 display pipeline components 2017-10-17 19:49:17 +02:00
tdfx
tegra drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
tilcdc drm/tilcdc: Use drm_gem_cma_print_info() 2017-11-11 11:24:12 +01:00
tinydrm drm/tinydrm: Use drm_gem_cma_print_info() 2017-11-11 11:24:44 +01:00
ttm Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-09-28 08:37:02 +10:00
tve200 drm/tve200: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb() 2017-10-01 17:04:36 +02:00
udl drm/udl: Reading all edid blocks in DRM/UDL driver 2017-10-16 15:37:19 -04:00
vc4 drm/vc4: Reject HDMI modes with too high of clocks. 2017-11-09 10:10:09 -08:00
vgem drm/vgem: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:41:43 -04:00
via drm: via: use ktime_get() instead of do_gettimeofday 2017-11-06 10:21:39 +01:00
virtio virtgpu: remove redundant task_comm copying 2017-11-10 12:45:35 +01:00
vmwgfx drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
zte drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
Kconfig Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-09-28 08:37:02 +10:00
Makefile Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-09-28 08:37:02 +10:00
ati_pcigart.c
drm_agpsupport.c drm/agpsupport: Remove extra blank line 2017-09-20 09:54:19 -07:00
drm_atomic.c drm/atomic: Use drm_framebuffer_print_info() 2017-11-11 11:21:52 +01:00
drm_atomic_helper.c drm/atomic-helper: always track connector commits, too 2017-11-15 12:34:35 +01:00
drm_auth.c
drm_blend.c mm: treewide: remove GFP_TEMPORARY allocation flag 2017-09-13 18:53:16 -07:00
drm_bridge.c drm/bridge: change return type of drm_bridge_add function 2017-08-21 08:51:53 +05:30
drm_bufs.c
drm_cache.c
drm_color_mgmt.c
drm_connector.c drm: Try to document legacy DPMS uapi a bit better 2017-09-26 07:12:56 +02:00
drm_context.c
drm_crtc.c drm/crtc: Convert setcrtc ioctl locking to interruptible. 2017-09-13 09:52:05 +02:00
drm_crtc_helper.c drm: Replace kzalloc with kcalloc 2017-10-13 15:49:03 -04:00
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_debugfs.c drm/debugfs: Fix framebuffer debugfs file init 2017-11-14 11:08:17 +02:00
drm_debugfs_crc.c drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible waiting, v2. 2017-09-13 09:50:52 +02:00
drm_dma.c
drm_dp_aux_dev.c
drm_dp_dual_mode_helper.c mm: treewide: remove GFP_TEMPORARY allocation flag 2017-09-13 18:53:16 -07:00
drm_dp_helper.c drm: don't link DP aux i2c adapter to the hardware device node 2017-11-20 09:34:17 +01:00
drm_dp_mst_topology.c drm/dp/mst: Sideband message transaction to power up/down nodes 2017-09-11 16:03:57 +03:00
drm_drv.c drm: Move debug macros out of drmP.h 2017-10-20 13:14:48 -04:00
drm_dumb_buffers.c
drm_edid.c drm/edid: make drm_edid_to_eld() static 2017-11-07 17:43:35 +02:00
drm_edid_load.c drm: add backwards compatibility support for drm_kms_helper.edid_firmware 2017-09-19 18:11:45 +03:00
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c drm/cma-helper: Remove drm_fb_cma_debugfs_show() 2017-11-11 11:25:14 +01:00
drm_fb_helper.c drm/fb-helper: Add .last_close and .output_poll_changed helpers 2017-10-31 19:06:31 +01:00
drm_file.c drm: Document device unplug infrastructure 2017-08-11 10:48:03 +02:00
drm_flip_work.c
drm_fourcc.c
drm_framebuffer.c drm/framebuffer: Add framebuffer debugfs file 2017-11-11 11:21:19 +01:00
drm_gem.c drm/framebuffer: Add framebuffer debugfs file 2017-11-11 11:21:19 +01:00
drm_gem_cma_helper.c drm: gem_cma_helper.c: Allow importing of contiguous scatterlists with nents > 1 2017-11-15 18:14:46 +01:00
drm_gem_framebuffer_helper.c drm/gem-fb-helper: Improve documentation 2017-10-08 15:02:51 +02:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h drm/framebuffer: Add framebuffer debugfs file 2017-11-11 11:21:19 +01:00
drm_ioc32.c
drm_ioctl.c drm/syncobj: Add a signal ioctl (v3) 2017-08-29 10:16:25 +10:00
drm_irq.c
drm_kms_helper_common.c drm: add backwards compatibility support for drm_kms_helper.edid_firmware 2017-09-19 18:11:45 +03:00
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c
drm_mm.c drm: Spelling fixes 2017-11-02 11:10:37 -02:00
drm_mode_config.c
drm_mode_object.c drm: Make __drm_object_property_get_value() static 2017-09-11 15:53:33 +03:00
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible waiting, v2. 2017-09-13 09:50:52 +02:00
drm_of.c drm/drm_of: Move drm_of_panel_bridge_remove_function into header. 2017-10-13 16:59:36 +02:00
drm_panel.c
drm_pci.c drm/core: clean up references to drm_dev_unref() 2017-09-27 10:53:12 +02:00
drm_plane.c Merge tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-09-28 05:46:15 +10:00
drm_plane_helper.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
drm_prime.c drm/core: clean up references to drm_dev_unref() 2017-09-27 10:53:12 +02:00
drm_print.c drm: Enable pr_debug() for drm_printer 2017-10-30 16:59:21 -04:00
drm_probe_helper.c drm: handle override and firmware EDID at drm_do_get_edid() level 2017-09-19 17:49:25 +03:00
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c Merge tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-09-28 05:46:15 +10:00
drm_simple_kms_helper.c drm: Check crtc_state->enable rather than crtc->enabled in drm_plane_helper_check_state() 2017-11-20 20:33:21 +02:00
drm_syncobj.c drm/syncobj: Use proper methods for accessing rcu protected pointers 2017-11-09 20:34:21 +02:00
drm_sysfs.c
drm_trace.h drm: Use correct path to trace include 2017-09-05 11:11:18 +02:00
drm_trace_points.c
drm_vblank.c drm/vblank: Fix flip event vblank count 2017-10-12 17:34:28 +03:00
drm_vm.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 12:21:28 -07:00
drm_vma_manager.c drm/drm_vma_manager.c: Remove useless goto statement 2017-11-02 10:44:08 +01:00