Messages in this thread | | | Subject | Re: [PATCH 08/14] drm/amdgpu: use drm_crtc_vblank_{get,put}() | From | Michel Dänzer <> | Date | Tue, 7 Jun 2016 12:43:04 +0900 |
| |
On 06.06.2016 23:41, Gustavo Padovan wrote: > From: Gustavo Padovan <gustavo.padovan@collabora.co.uk> > > Replace the legacy drm_vblank_{get,put}() with the new helper functions. > > Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
[...]
> @@ -268,7 +268,7 @@ int amdgpu_crtc_page_flip(struct drm_crtc *crtc, > return 0; > > vblank_cleanup: > - drm_vblank_put(crtc->dev, amdgpu_crtc->crtc_id); > + drm_crtc_vblank_put(&amdgpu_crtc->base);
Can just use crtc here instead of &amdgpu_crtc->base. Same for the radeon patch.
-- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
| |