Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754331AbcDSM4s (ORCPT ); Tue, 19 Apr 2016 08:56:48 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:51951 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754314AbcDSM4q (ORCPT ); Tue, 19 Apr 2016 08:56:46 -0400 Subject: Re: [PATCH 11/14] drm/tilcdc: use drm_crtc_send_vblank_event() To: Gustavo Padovan , References: <1460656118-16766-1-git-send-email-gustavo@padovan.org> <1460656118-16766-11-git-send-email-gustavo@padovan.org> CC: Gustavo Padovan , David Airlie , Tomi Valkeinen , Darren Etheridge , Daniel Vetter , open list From: Jyri Sarha Message-ID: <57162B05.1020708@ti.com> Date: Tue, 19 Apr 2016 15:56:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1460656118-16766-11-git-send-email-gustavo@padovan.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1053 Lines: 34 On 04/14/16 20:48, Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > Signed-off-by: Gustavo Padovan Reviewed-by: Jyri Sarha Tested-by: Jyri Sarha Thanks! Do you prefer me to pick this one to my next pull request? Best regards, Jyri > --- > drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > index 051e5e1..79027b1 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > @@ -707,7 +707,7 @@ irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc) > event = tilcdc_crtc->event; > tilcdc_crtc->event = NULL; > if (event) > - drm_send_vblank_event(dev, 0, event); > + drm_crtc_send_vblank_event(crtc, event); > > spin_unlock_irqrestore(&dev->event_lock, flags); > } >