Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421045 > unrolled thread

Re: [PATCH 10/10] drm/radeon: use crtc directly in drm_crtc_vblank_put()

Started byDaniel Vetter <daniel@ffwll.ch>
First post2016-06-13 18:40 +0200
Last post2016-06-13 18:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 10/10] drm/radeon: use crtc directly in  drm_crtc_vblank_put() Daniel Vetter <daniel@ffwll.ch> - 2016-06-13 18:40 +0200

#1421045 — Re: [PATCH 10/10] drm/radeon: use crtc directly in drm_crtc_vblank_put()

FromDaniel Vetter <daniel@ffwll.ch>
Date2016-06-13 18:40 +0200
SubjectRe: [PATCH 10/10] drm/radeon: use crtc directly in drm_crtc_vblank_put()
Message-ID<rJD46-lN-9@gated-at.bofh.it>
On Tue, Jun 07, 2016 at 11:08:02AM -0300, Gustavo Padovan wrote:
> From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> 
> 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>

All expect patch 5 merged, thanks.
-Daniel

> ---
>  drivers/gpu/drm/radeon/radeon_display.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
> index 2fb18f1..fb461f9 100644
> --- a/drivers/gpu/drm/radeon/radeon_display.c
> +++ b/drivers/gpu/drm/radeon/radeon_display.c
> @@ -625,7 +625,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)) {
> -- 
> 2.5.5
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web