]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vblank: Document drm_crtc_vblank_restore constraints
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Feb 2021 10:15:23 +0000 (11:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Feb 2021 11:38:55 +0000 (12:38 +0100)
commitfef68cefeecc1914eb2a6b8dc980309214e5a8e4
treee6ae581e30780c387b21a44bf8189f8cd51c4781
parent7e7723b32a4c64e5a15e30fa604e0a312d13146a
drm/vblank: Document drm_crtc_vblank_restore constraints

I got real badly confused when trying to review a fix from Ville for
this. Let's try to document better what's required for this, and check
the minimal settings at runtime - we can't check ofc that there's
indeed no races in the driver callback.

Also noticed that the drm_vblank_restore version is unused, so lets
unexport that while at it.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209101523.2954281-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_vblank.c
include/drm/drm_vblank.h