diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-02-19 09:48:22 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-24 23:45:50 -0500 |
commit | b3f5e7329df1a508ac58ebe7509fb7a47b9eab6a (patch) | |
tree | 26053313cadc6914662e88de0af2e2fe04d80913 /samples | |
parent | 7bec756c74b1a5079d5074144bb77a6b3e7d7783 (diff) |
drm: Correct unbalanced drm_vblank_put() during mode setting.
The first time we install a mode, the vblank will be disabled for a pipe
and so drm_vblank_get() in drm_vblank_pre_modeset() will fail. As we
unconditionally call drm_vblank_put() afterwards, the vblank reference
counter becomes unbalanced.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions