From patchwork Thu Aug 8 13:41:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2841231 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A8F8DBF546 for ; Thu, 8 Aug 2013 14:15:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C29F72054D for ; Thu, 8 Aug 2013 14:15:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 81C112054C for ; Thu, 8 Aug 2013 14:15:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 123ADE6ABC for ; Thu, 8 Aug 2013 07:15:10 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ea0-f177.google.com (mail-ea0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id E7866E66DD for ; Thu, 8 Aug 2013 06:41:58 -0700 (PDT) Received: by mail-ea0-f177.google.com with SMTP id f15so1441875eak.22 for ; Thu, 08 Aug 2013 06:41:58 -0700 (PDT) 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=5XutsW+YIsWICwqBP2thOQgUJ6Xiic0PWNjS2NP4EU8=; b=VolBdm+cd4KpaueIi36tbuTTMzeYTBnQyAirU4eNbIg6QMN6V4vv5dF3nQivm1CWim UsD8m/+8empGwbm2I9omgVeTOYHkJjVNwLTaLPeHn/V8S/UO0MXW6IqUvoRbJBAOEKVC zU3rHFUU3EB48qkQ3cTHni20bLMcdDB/YFE08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5XutsW+YIsWICwqBP2thOQgUJ6Xiic0PWNjS2NP4EU8=; b=D5OVrudF/I3YFB8DjXNmMxyRDVK5aLGnbUCXnR7/dOj9eXoKDC22x4AeC+xQv1CoiU 7aGLpwgeraDJGSV1DQnmRliPcUqUmKqXyH/oxp2LYo9TupBJqLO0+iqMEdZqJMh4cUiY 1JHWZwuvXHT3xCEQBi0Rh7j2Wjxap/v72YlBe6NIjBYBrnen8ic4RZQe7T6c6yXUwgX8 LAR7bhX6LeGbDe0vLBqwAmSof4HGydPrKeRa/7VFYBPido411zXvm/3xV6p9QjK4EuQ1 y2WR37eEAPtF73B1ePuDneEFxvMSOMobx7ipeSmQmL+peuvqjcAAGGuQyXEpyrY2ynMg BqCQ== X-Gm-Message-State: ALoCoQkhK42dAdaU5NZfKGRMrtSkHSAnnr8Nf1lX1gTuqUh7KvqSc1sdL30Dzk1po5vGcGSluj1A X-Received: by 10.14.176.199 with SMTP id b47mr8335574eem.117.1375969317609; Thu, 08 Aug 2013 06:41:57 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id bn13sm19282226eeb.11.2013.08.08.06.41.56 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Aug 2013 06:41:56 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 16/25] drm: remove a bunch of unused #defines from drmP.h Date: Thu, 8 Aug 2013 15:41:26 +0200 Message-Id: <1375969295-18929-17-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> References: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter 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+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.1 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 Signed-off-by: Daniel Vetter --- include/drm/drmP.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index f526a7a9..914055e 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -165,13 +165,7 @@ int drm_err(const char *func, const char *format, ...); #define DRM_MAGIC_HASH_ORDER 4 /**< Size of key hash table. Must be power of 2. */ #define DRM_KERNEL_CONTEXT 0 /**< Change drm_resctx if changed */ #define DRM_RESERVED_CONTEXTS 1 /**< Change drm_resctx if changed */ -#define DRM_LOOPING_LIMIT 5000000 -#define DRM_TIME_SLICE (HZ/20) /**< Time slice for GLXContexts */ -#define DRM_LOCK_SLICE 1 /**< Time slice for lock, in jiffies */ -#define DRM_FLAG_DEBUG 0x01 - -#define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8) #define DRM_MAP_HASH_OFFSET 0x10000000 /*@}*/ @@ -260,9 +254,6 @@ int drm_err(const char *func, const char *format, ...); #define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) -#define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) -#define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) - #define DRM_IF_VERSION(maj, min) (maj << 16 | min) /**