linux/drivers/gpu/drm/rockchip
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
..
analogix_dp-rockchip.c drm/rockchip: get rid of rockchip_drm_crtc_mode_config 2016-05-03 14:11:23 +08:00
dw_hdmi-rockchip.c drm/rockchip: get rid of rockchip_drm_crtc_mode_config 2016-05-03 14:11:23 +08:00
dw-mipi-dsi.c drm/rockchip: get rid of rockchip_drm_crtc_mode_config 2016-05-03 14:11:23 +08:00
inno_hdmi.c drm/rockchip: get rid of rockchip_drm_crtc_mode_config 2016-05-03 14:11:23 +08:00
inno_hdmi.h drm/rockchip: hdmi: add Innosilicon HDMI support 2016-02-18 13:56:43 +08:00
Kconfig drm: rockchip: dp: add rockchip platform dp driver 2016-04-05 10:13:04 +08:00
Makefile drm: rockchip: dp: add rockchip platform dp driver 2016-04-05 10:13:04 +08:00
rockchip_drm_drv.c drm: Nuke ->vblank_disable_allowed 2016-05-21 07:03:31 +10:00
rockchip_drm_drv.h drm/rockchip: get rid of rockchip_drm_crtc_mode_config 2016-05-03 14:11:23 +08:00
rockchip_drm_fb.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
rockchip_drm_fb.h drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
rockchip_drm_fbdev.c drm/rockchip: Use new drm_fb_helper functions 2015-08-06 14:12:56 +02:00
rockchip_drm_fbdev.h drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION 2016-01-22 08:45:31 +08:00
rockchip_drm_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
rockchip_drm_gem.h drm/rockchip: Only alloc a kmap for fbdev gem object 2015-03-16 10:07:12 +08:00
rockchip_drm_vop.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
rockchip_drm_vop.h drm/rockchip: vop: spilt scale regsters 2015-12-28 09:01:41 +08:00
rockchip_vop_reg.c drm/rockchip: vop: add rk3036 vop support 2015-12-28 09:01:48 +08:00
rockchip_vop_reg.h drm/rockchip: vop: add rk3036 vop support 2015-12-28 09:01:48 +08:00