commit | 5e916a3ada5f0c3e8a97ee3bb674e81a9bf78a71 | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Fri Apr 01 17:28:44 2016 +0900 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Apr 01 10:09:28 2016 -0400 |
tree | f1ac9e2e269a6765cd0631e11f0427eb319c34e6 | |
parent | fc387a0b183150b5beb953d740441f19b49a1fb3 [diff] |
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>