summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-08-06 14:49:53 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-06 22:39:28 +0200
commit4ed0ce3d0bccd74416ba6beb33a8a79d1617e97b (patch)
treed8898f1d518a7141d425cccae24a23b719a2df43 /Documentation
parentffe7c73a8d4f0caeebd5d220ddbf7126a4daca1f (diff)
downloadblackbird-op-linux-4ed0ce3d0bccd74416ba6beb33a8a79d1617e97b.tar.gz
blackbird-op-linux-4ed0ce3d0bccd74416ba6beb33a8a79d1617e97b.zip
drm: Disable vblank interrupt immediately when drm_vblank_offdelay<0
Make drm_vblank_put() disable the vblank interrupt immediately when the refcount drops to zero and drm_vblank_offdelay<0. v2: Preserve the current drm_vblank_offdelay==0 'never disable' behaviur Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/drm.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 1d3756d3176c..55923d00bd52 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -3386,6 +3386,7 @@ void (*disable_vblank) (struct drm_device *dev, int crtc);</synopsis>
by scheduling a timer. The delay is accessible through the vblankoffdelay
module parameter or the <varname>drm_vblank_offdelay</varname> global
variable and expressed in milliseconds. Its default value is 5000 ms.
+ Zero means never disable, and a negative value means disable immediately.
</para>
<para>
When a vertical blanking interrupt occurs drivers only need to call the
OpenPOWER on IntegriCloud