linux_dsm_epyc7002/drivers/gpu/drm/fsl-dcu
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
..
fsl_dcu_drm_crtc.c drm/fsl-dcu: use bus_flags for pixel clock polarity 2016-05-05 10:09:06 -07:00
fsl_dcu_drm_crtc.h drm/layerscape: Add Freescale DCU DRM driver 2015-08-19 22:23:04 -04:00
fsl_dcu_drm_drv.c drm: Nuke ->vblank_disable_allowed 2016-05-21 07:03:31 +10:00
fsl_dcu_drm_drv.h drm/fsl-dcu: use bus_flags for pixel clock polarity 2016-05-05 10:09:06 -07:00
fsl_dcu_drm_fbdev.c drm/layerscape: Add Freescale DCU DRM driver 2015-08-19 22:23:04 -04:00
fsl_dcu_drm_kms.c drm/fsl-dcu: handle initialization errors properly 2016-02-25 16:13:16 -08:00
fsl_dcu_drm_output.h drm/layerscape: Add Freescale DCU DRM driver 2015-08-19 22:23:04 -04:00
fsl_dcu_drm_plane.c drm/fsl-dcu: fix alpha blending 2016-02-25 16:13:16 -08:00
fsl_dcu_drm_plane.h drm/layerscape: Add Freescale DCU DRM driver 2015-08-19 22:23:04 -04:00
fsl_dcu_drm_rgb.c drm/fsl-dcu: handle missing panel gracefully 2016-04-25 20:45:32 -07:00
fsl_tcon.c drm/fsl-dcu: add TCON driver 2016-04-25 20:27:18 -07:00
fsl_tcon.h drm/fsl-dcu: add TCON driver 2016-04-25 20:27:18 -07:00
Kconfig drm/fsl-dcu: add COMMON_CLK dependency 2016-05-03 10:17:37 +02:00
Makefile drm/fsl-dcu: add TCON driver 2016-04-25 20:27:18 -07:00