]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove internal setup of struct drm_device.vblank_disable_immediate
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Jan 2020 13:59:22 +0000 (14:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 13 Feb 2020 12:08:13 +0000 (13:08 +0100)
commit2c705b76088ba34ce33972c0a0474d61c57d18f1
treecab3d313a15d62d29c85a7987a5283b20277d15a
parent0d1f1d3e6081032adb6b473b04a8ac453fdf0e41
drm: Remove internal setup of struct drm_device.vblank_disable_immediate

VBLANK interrupts can be disabled immediately or with a delay, where the
latter is the default. The former option can be selected by setting
get_vblank_timestamp and enabling vblank_disable_immediate in struct
drm_device. Simplify the code in preparation of the removal of struct
drm_device.get_vblank_timestamp.

v3:
* remove internal setup of vblank_disable_immediate

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200123135943.24140-2-tzimmermann@suse.de
drivers/gpu/drm/drm_vblank.c