From patchwork Wed Dec 11 10:34:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 3324191 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2641C9F37A for ; Wed, 11 Dec 2013 10:37:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CAA420729 for ; Wed, 11 Dec 2013 10:36:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F2429206D7 for ; Wed, 11 Dec 2013 10:36:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 892D11057D0; Wed, 11 Dec 2013 02:36:41 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id EF5F6FB4DD for ; Wed, 11 Dec 2013 02:35:04 -0800 (PST) Received: by mail-ee0-f49.google.com with SMTP id c41so2774705eek.22 for ; Wed, 11 Dec 2013 02:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=P2DageN9IG2UCmNO7CZwNQjl96EgfEjpCGtb1s2s9Ys=; b=V6qaHDEs6XS3FmBGSc1HCNtEVQdkf1Ac4U0ynmThWge5iwQnh/oTcltnT8D5IwQVY5 SXCtB247xAcNw8JKe1JSuVgUelg7OnI4f78JEeWcR54WgduwRtHLvXGivxHbxrMbUU0B zVKVmzzut5E8RNBOSvaiOGoXkAYv9Qpu/+T6g= 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=P2DageN9IG2UCmNO7CZwNQjl96EgfEjpCGtb1s2s9Ys=; b=Ue+XcwA13taMfkGJRjEPXukYBj9ZnILFuquNv9LFGfuYWWbklfTQJq6Zh1xVcff+dy /9PIQJl2GKfvgd4cKjO+0X7D5qx8K7PAs6l9Q0GAleak1WTAPoOuP6+JANqrGFkTtAaR WsTX+o43phqKKfapvIeyq8YmEXttlgZ/sxCQvoRCnWqLzon/l70IQ4RkeejUC5Cy66bz l/WUc4PTaczXP+xWw3+VAwPLEAq6ZjrxmuP1njhS21PgZsJhg3oXP/7X/lLnfVT0m/NB PU6acLeXrfEaO6KZ2JRXtyE80cr6jP6UkjQzi5+g/d+F2L6cM5d72f5taKJb8vvf9qY6 6t7w== X-Gm-Message-State: ALoCoQlGwXebHPbUqHy5nCml8MD3LpQHl65Z3pWmefqhE95u8M+YI7z60Z4M8drfujyK9DCTdLiX X-Received: by 10.15.82.136 with SMTP id a8mr839337eez.81.1386758104359; Wed, 11 Dec 2013 02:35:04 -0800 (PST) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id b41sm51932269eef.16.2013.12.11.02.35.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Dec 2013 02:35:03 -0800 (PST) From: Daniel Vetter To: DRI Development Subject: [PATCH 26/50] drm/gma500: Remove dead code Date: Wed, 11 Dec 2013 11:34:47 +0100 Message-Id: <1386758111-3446-27-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.4.3 In-Reply-To: <1386758111-3446-1-git-send-email-daniel.vetter@ffwll.ch> References: <1386758111-3446-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Alan Cox X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 This has the nice advantage that we'll get rid of a DRM_WAIT_ON user for free. Cc: Patrik Jakobsson Cc: Alan Cox Signed-off-by: Daniel Vetter Acked-by: Patrik Jakobsson --- drivers/gpu/drm/gma500/psb_irq.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index a9bb34704738..f883f9e4c524 100644 --- a/drivers/gpu/drm/gma500/psb_irq.c +++ b/drivers/gpu/drm/gma500/psb_irq.c @@ -450,21 +450,6 @@ int psb_irq_disable_dpst(struct drm_device *dev) return 0; } -#ifdef PSB_FIXME -static int psb_vblank_do_wait(struct drm_device *dev, - unsigned int *sequence, atomic_t *counter) -{ - unsigned int cur_vblank; - int ret = 0; - DRM_WAIT_ON(ret, dev->vblank.queue, 3 * HZ, - (((cur_vblank = atomic_read(counter)) - - *sequence) <= (1 << 23))); - *sequence = cur_vblank; - - return ret; -} -#endif - /* * It is used to enable VBLANK interrupt */