From patchwork Mon Oct 26 13:15:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 55878 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9QDFOLv010434 for ; Mon, 26 Oct 2009 13:15:24 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D3879EFE9; Mon, 26 Oct 2009 06:15:24 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail.ffwll.ch (cable-static-49-187.intergga.ch [157.161.49.187]) by gabe.freedesktop.org (Postfix) with ESMTP id F03F79E976 for ; Mon, 26 Oct 2009 06:15:20 -0700 (PDT) Received: by mail.ffwll.ch (Postfix, from userid 1000) id 225CE20C215; Mon, 26 Oct 2009 14:15:18 +0100 (CET) X-Spam-ASN: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on orange.ffwll.ch X-Spam-Level: X-Spam-Hammy: 0.000-+--signed-off-by, 0.000-+--signedoffby, 0.000-+--100644 X-Spam-Status: No, score=-4.4 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Spammy: 0.966-+--H*Ad:U*daniel.vetter, 0.963-+--H*m:ffwll, 0.949-+--H*r:mail.ffwll.ch Received: from biene (unknown [192.168.23.129]) by mail.ffwll.ch (Postfix) with ESMTP id C2CCB20C1BD; Mon, 26 Oct 2009 14:15:06 +0100 (CET) Received: from daniel by biene with local (Exim 4.69) (envelope-from ) id 1N2PQ1-00048r-Fg; Mon, 26 Oct 2009 14:15:29 +0100 From: Daniel Vetter To: intel-gfx@lists.freedesktop.org Date: Mon, 26 Oct 2009 14:15:24 +0100 Message-Id: <22ebf9a09fb13aacc17f5e00dce5b681f45810c0.1256562682.git.daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.6.4.3 In-Reply-To: References: In-Reply-To: References: Cc: Daniel Vetter Subject: [Intel-gfx] [PATCH 1/3] Kill some more #defines only needed for User-Modesetting X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org diff --git a/src/common.h b/src/common.h index 5bc79e5..b9269b5 100644 --- a/src/common.h +++ b/src/common.h @@ -366,12 +366,6 @@ extern int I810_DEBUG; #define IS_I915(pI810) (IS_I915G(pI810) || IS_I915GM(pI810) || IS_I945G(pI810) || IS_I945GM(pI810) || IS_G33CLASS(pI810)) #define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_I965GM(pI810) || IS_GM45(pI810) || IS_IGD(pI810) || IS_IGDNG_M(pI810)) -/* mark chipsets for using gfx VM offset for overlay */ -#define OVERLAY_NOPHYSICAL(pI810) (IS_G33CLASS(pI810) || IS_I965G(pI810)) -/* mark chipsets without overlay hw */ -#define OVERLAY_NOEXIST(pI810) (IS_G4X(pI810) || IS_IGDNG(pI810)) -/* dsparb controlled by hw only */ -#define DSPARB_HWCONTROL(pI810) (IS_G4X(pI810) || IS_IGDNG(pI810)) /* supports Y tiled surfaces (pre-965 Mesa isn't ready yet) */ #define SUPPORTS_YTILING(pI810) (IS_I965G(intel)) @@ -385,7 +379,6 @@ extern int I810_DEBUG; #define MAX_SCRATCH_BUFFER_SIZE KB(64) #define HWCURSOR_SIZE GTT_PAGE_SIZE #define HWCURSOR_SIZE_ARGB GTT_PAGE_SIZE * 4 -#define OVERLAY_SIZE GTT_PAGE_SIZE /* Use a 64x64 HW cursor */ #define I810_CURSOR_X 64