From patchwork Thu Apr 14 17:48:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 8840431 Return-Path: X-Original-To: patchwork-dri-devel@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 74001C0553 for ; Thu, 14 Apr 2016 17:48:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 013022034C for ; Thu, 14 Apr 2016 17:48:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 26062202FF for ; Thu, 14 Apr 2016 17:48:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4B56C6EABD; Thu, 14 Apr 2016 17:48:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id E89C46EABD for ; Thu, 14 Apr 2016 17:48:51 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id zm5so46920773pac.0 for ; Thu, 14 Apr 2016 10:48:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CFINVHQLw/SDYlR+VXhegNRxrDL3aNQZT++1mU7uwEE=; b=IfPhhgsLpQnQ53deBbOTvGBvYcNTSYxAVVhQrh7GHRRx9OCnJ4o6sWD3xdnQQmVx2f htxiEag/Dkyw1MLyuhV92zHVLg//pr/zK3Q0cQTb5EW2/22aiblqfApjcW22V7ADZIAx A49IvMrg4X8WnIRA0QhhjVHGWrq7e5+DlxlEHPPc0FS0dDgLWpxz0fv+BJ8G1Kadvc1/ YRCsGIy4LolPFnX4HDfGCkxfv4jQe+Aa9BUz9mHD1NR+AGaK+Jkm8BpFkdOhVnG4J03U +Gor5cbvlBYwwVok9kBItvMQ0noVXVL82PlE9hjylAVIk/rhyQN/w08TBcb8dV7K660Z ti7Q== X-Gm-Message-State: AOPr4FWrw1WSIIPSrRvITxlAhyZRNzG/oD29wKYRcQubAsTAny/77bgRATXK0lVx9B38tw== X-Received: by 10.66.136.41 with SMTP id px9mr22959363pab.80.1460656131194; Thu, 14 Apr 2016 10:48:51 -0700 (PDT) Received: from jade.localdomain (c-73-241-147-137.hsd1.ca.comcast.net. [73.241.147.137]) by smtp.gmail.com with ESMTPSA id y27sm59344437pfi.11.2016.04.14.10.48.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 10:48:50 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 06/14] drm/qxl: use drm_crtc_send_vblank_event() Date: Thu, 14 Apr 2016 10:48:17 -0700 Message-Id: <1460656118-16766-6-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1460656118-16766-1-git-send-email-gustavo@padovan.org> References: <1460656118-16766-1-git-send-email-gustavo@padovan.org> Cc: Daniel Vetter , Carlos Palminha , open list , Jonathon Jongsma , Dave Airlie , Thierry Reding , Gustavo Padovan , Frediano Ziglio X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/qxl/qxl_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 43e5f50..75cba59 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/drivers/gpu/drm/qxl/qxl_display.c @@ -256,7 +256,7 @@ static int qxl_crtc_page_flip(struct drm_crtc *crtc, if (event) { spin_lock_irqsave(&dev->event_lock, flags); - drm_send_vblank_event(dev, qcrtc->index, event); + drm_crtc_send_vblank_event(crtc, event); spin_unlock_irqrestore(&dev->event_lock, flags); } drm_vblank_put(dev, qcrtc->index);