linux/drivers/gpu/drm/exynos
Daniel Vetter fcee59065e drm: Nuke ->vblank_disable_allowed
This was added in

commit 0a3e67a4ca
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Tue Sep 30 12:14:26 2008 -0700

    drm: Rework vblank-wait handling to allow interrupt reduction.

to stay backwards-compatible with old UMS code that didn't even tell
the kernel when it did a modeset, so that the kernel could
save/restore vblank counters. At worst this means vblanks will be
somewhat funky on a setup that very likely no one still runs.

So let's just nuke it.

Plan B would be to set it unconditionally in drm_vblank_init for kms
drivers, instead of in each driver separately. So if this patch breaks
anything please only restore the hunks in drmP.h and drm_irq.c, plus
add a check for DRIVER_MODESET in drm_vblank_init.

Stumbled over this in a discussion on irc with Chris.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Mark Yao <mark.yao@rock-chips.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-05-21 07:03:31 +10:00
..
exynos7_drm_decon.c drm/exynos: clean up wait_for_vblank 2016-04-30 11:34:12 +09:00
exynos5433_drm_decon.c drm/exynos/decon5433: fix trigger configuration 2016-05-10 23:11:46 +09:00
exynos_dp.c drm/exynos: convert clock_enable crtc callback to pipeline clock 2016-04-30 11:33:48 +09:00
exynos_drm_core.c drm/exynos: fix error handling in exynos_drm_subdrv_open 2016-04-30 01:03:45 +09:00
exynos_drm_crtc.c drm/exynos: fix cancel page flip code 2016-05-10 23:11:41 +09:00
exynos_drm_crtc.h drm/exynos: fix kernel panic issue at drm releasing 2016-01-13 00:16:39 +09:00
exynos_drm_dpi.c drm/exynos/dpi: use of_graph_get_endpoint_by_regs helper 2016-05-10 23:11:45 +09:00
exynos_drm_drv.c drm: Nuke ->vblank_disable_allowed 2016-05-21 07:03:31 +10:00
exynos_drm_drv.h Merge tag 'topic/drm-misc-2016-05-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-05-05 09:56:30 +10:00
exynos_drm_dsi.c drm/exynos/dsi: use of_graph_get_endpoint_by_regs helper 2016-05-10 23:11:45 +09:00
exynos_drm_fb.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
exynos_drm_fb.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-01-17 13:40:25 -08:00
exynos_drm_fbdev.c drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos_drm_fbdev.h drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos_drm_fimc.c drm/exynos/fimc: remove unused camera interface polarization code 2016-03-01 23:37:23 +09:00
exynos_drm_fimc.h
exynos_drm_fimd.c drm/exynos: fimd: harden fimd_calc_clkdiv() 2016-05-10 23:11:42 +09:00
exynos_drm_g2d.c drm/exynos: use directly DMA mapping APIs on g2d 2016-05-10 23:11:44 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
exynos_drm_gem.h drm/exynos: use directly DMA mapping APIs on g2d 2016-05-10 23:11:44 +09:00
exynos_drm_gsc.c drm/exynos: ipp: fix incorrect format specifiers in debug messages 2016-03-01 23:37:08 +09:00
exynos_drm_gsc.h
exynos_drm_iommu.c drm/exynos: use real device for DMA-mapping operations 2016-03-01 23:53:47 +09:00
exynos_drm_iommu.h drm/exynos: use real device for DMA-mapping operations 2016-03-01 23:53:47 +09:00
exynos_drm_ipp.c drm/exynos: ipp: fix incorrect format specifiers in debug messages 2016-03-01 23:37:08 +09:00
exynos_drm_ipp.h
exynos_drm_mic.c drm/exynos: fix a warning message 2016-04-30 01:03:46 +09:00
exynos_drm_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
exynos_drm_plane.h drm/exynos: rename zpos to index 2016-01-13 00:16:33 +09:00
exynos_drm_rotator.c drm/exynos: rotator: use generic of_device_get_match_data helper 2016-04-30 11:34:09 +09:00
exynos_drm_rotator.h
exynos_drm_vidi.c drm/exynos: fix types for compilation on 64bit architectures 2016-03-01 23:37:09 +09:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos/hdmi: add a missing tab 2016-05-17 09:10:22 +02:00
exynos_mixer.c drm/exynos: clean up wait_for_vblank 2016-04-30 11:34:12 +09:00
Kconfig drm/exynos: Use VIDEO_SAMSUNG_S5P_G2D=n as G2D Kconfig dependency 2016-04-30 01:03:46 +09:00
Makefile drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
regs-fimc.h
regs-gsc.h
regs-hdmi.h drm/exynos/hdmi: add Exynos5433 support 2016-04-30 01:03:54 +09:00
regs-mixer.h drm/exynos: mixer: refactor layer setup 2016-01-13 00:16:36 +09:00
regs-rotator.h
regs-vp.h