mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
drm/radeon: use crtc directly in drm_crtc_vblank_put()
We don't need to use &radeon_crtc->base there as crtc is available in the function. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1465308482-15104-10-git-send-email-gustavo@padovan.org
This commit is contained in:
parent
27377a1ce7
commit
890938b59d
@ -627,7 +627,7 @@ static int radeon_crtc_page_flip(struct drm_crtc *crtc,
|
||||
return 0;
|
||||
|
||||
vblank_cleanup:
|
||||
drm_crtc_vblank_put(&radeon_crtc->base);
|
||||
drm_crtc_vblank_put(crtc);
|
||||
|
||||
pflip_cleanup:
|
||||
if (unlikely(radeon_bo_reserve(new_rbo, false) != 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user