diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-04-01 08:28:44 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-04-01 14:09:28 (GMT) |
commit | 5e916a3ada5f0c3e8a97ee3bb674e81a9bf78a71 (patch) | |
tree | f1ac9e2e269a6765cd0631e11f0427eb319c34e6 /include | |
parent | fc387a0b183150b5beb953d740441f19b49a1fb3 (diff) | |
download | linux-5e916a3ada5f0c3e8a97ee3bb674e81a9bf78a71.tar.xz |
drm/radeon: Only call drm_vblank_on/off between drm_vblank_init/cleanup
Prevents the
if (WARN_ON(pipe >= dev->num_crtcs))
in drm_vblank_on/off from triggering if acceleration fails to
initialize, in which case we call drm_vblank_cleanup.
Reported-and-Tested-by: Julian Margetson <runaway@candw.ms>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions