]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/drm_vblank.c
drm/doc: Polish irq helper documentation
[karo-tx-linux.git] / drivers / gpu / drm / drm_vblank.c
index 630dc26379b70cc1fde1db602fe29ce18bc24fdc..463e4d81fb0ddb9807b84d1039288795c4842187 100644 (file)
@@ -363,6 +363,9 @@ static void vblank_disable_fn(unsigned long arg)
  * @dev: DRM device
  *
  * This function cleans up any resources allocated in drm_vblank_init.
+ *
+ * Drivers which don't use drm_irq_install() need to set &drm_device.irq_enabled
+ * themselves, to signal to the DRM core that vblank interrupts are enabled.
  */
 void drm_vblank_cleanup(struct drm_device *dev)
 {