commit | e0b34e3857004ac2257458d6354c31349f51e207 | [log] [tgz] |
---|---|---|
author | Mario Kleiner <mario.kleiner.de@gmail.com> | Fri Feb 12 20:30:31 2016 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Wed Feb 17 14:19:03 2016 +1000 |
tree | aa49831290079332716f16ab7375293b9ca7b422 | |
parent | bb74fc1bf3072bd3ab4ed5f43afd287a63baf2d7 [diff] |
drm/radeon/pm: Handle failure of drm_vblank_get. Make sure that drm_vblank_get/put() stay balanced in case drm_vblank_get fails, by skipping the corresponding put. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: michel@daenzer.net Cc: dri-devel@lists.freedesktop.org Cc: alexander.deucher@amd.com Cc: christian.koenig@amd.com Signed-off-by: Dave Airlie <airlied@redhat.com>