From patchwork Thu Jul 16 15:23:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 6807931 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CE5DFC05AD for ; Thu, 16 Jul 2015 15:23:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C28520661 for ; Thu, 16 Jul 2015 15:23:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02593205E6 for ; Thu, 16 Jul 2015 15:23:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753147AbbGPPXr (ORCPT ); Thu, 16 Jul 2015 11:23:47 -0400 Received: from mail-qg0-f42.google.com ([209.85.192.42]:32822 "EHLO mail-qg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753132AbbGPPXq (ORCPT ); Thu, 16 Jul 2015 11:23:46 -0400 Received: by qged69 with SMTP id d69so4714693qge.0 for ; Thu, 16 Jul 2015 08:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id; bh=aJ10DKZ1POu0EL/bUMQWtkX79vfM8T72d7C/7umb6Yc=; b=TYJKU2zN4aasVgB4yDI5szbHCZsaYLLYC9aBmxoS2q7zFiVnHOLwQyTTmfOAi+t9G2 T0iSghWsUHacA8w1bUXfLdw4ZOVoVqsqBS/Vbw1R5pBdHHXSewtmi6ldhlXk0lrRjb4Z qA4URcSAUtyBQFQZLYBwK06hPBYh0n5i3KunqPCPS6NdwMGLFWzUnCMe0ije3PELuiH3 T91IzgJ3BHmNnQI1wI3ekhgn83NOJb5roxbWZyPSqsXUXa6Pp+FrdjLlvZi7qhAnlnrw HJ8Hmmu/lEdAOG7tpj9sj+MG1f4zWA9JNCh/rwUiuOptwjzOqfN188v9Za3nXSP4QF8y wd6A== X-Received: by 10.140.150.11 with SMTP id 11mr11632082qhw.53.1437060226041; Thu, 16 Jul 2015 08:23:46 -0700 (PDT) Received: from jade.localdomain ([187.34.47.131]) by smtp.gmail.com with ESMTPSA id 124sm4164055qhx.34.2015.07.16.08.23.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 08:23:45 -0700 (PDT) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com, tjakobi@math.uni-bielefeld.de, Gustavo Padovan Subject: [PATCH v3 1/9] drm/exynos: pass the correct pipe number Date: Thu, 16 Jul 2015 12:23:31 -0300 Message-Id: <1437060219-32278-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Instead of giving -1 to as arg to drm_send_vblank_event() pass the correct pipe number to it. Signed-off-by: Gustavo Padovan Reviewed-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c index 644b4b7..22b9ca0 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.c @@ -203,7 +203,7 @@ void exynos_drm_crtc_finish_pageflip(struct drm_device *dev, int pipe) spin_lock_irqsave(&dev->event_lock, flags); if (exynos_crtc->event) { - drm_send_vblank_event(dev, -1, exynos_crtc->event); + drm_send_vblank_event(dev, pipe, exynos_crtc->event); drm_vblank_put(dev, pipe); wake_up(&exynos_crtc->pending_flip_queue);