linux-mips
[Top] [All Lists]

[PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).
From: Huacai Chen <chenhuacai@gmail.com>
Date: Sat, 11 Aug 2012 17:32:18 +0800
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Fuxin Zhang <zhangfx@lemote.com>, Zhangjin Wu <wuzhangjin@gmail.com>, Huacai Chen <chenhc@lemote.com>, Hongliang Tao <taohl@lemote.com>, Hua Yan <yanh@lemote.com>, dri-devel@lists.freedesktop.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=xSJOHiPbbkLH3jBzAos1o813tfIDkQ7exnZ6UUpcwTo=; b=ut/sRrDQ2wWwK4uLJaef+vuOQ6xWs1gFfvwzWjj0najqIQeCD2klQFPURQ3arFun1P 65vDNnCof8JwuThb55y5ILpDY4oNW88Tumduw0DYbz9tDmiaQkkaKEmoMSiwZ00QGUdE 2Zp+DYqSZBDrA9AS6ItxU20y6S7jTv2Qax6dlERTXA7aUyaV0CaBjE2IcLPQXfhkqbvv pCsnYucC3lKVcwD1q4Kt4r6fUgdJErh4C2UskTw1gSQh793aEkanRT/UQ6p8C8pH7TtY g/uj5omkTEvtqKIzh7BLKcEYrcNo9A/Li+j8WzCdJyPSX5s6XaQrE4SUMId8ZrYMIDFF u8QA==
In-reply-to: <1344677543-22591-1-git-send-email-chenhc@lemote.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1344677543-22591-1-git-send-email-chenhc@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Hongliang Tao <taohl@lemote.com>
Signed-off-by: Hua Yan <yanh@lemote.com>
Cc: dri-devel@lists.freedesktop.org
---
 include/drm/drm_sarea.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h
index ee5389d..1d1a858 100644
--- a/include/drm/drm_sarea.h
+++ b/include/drm/drm_sarea.h
@@ -37,6 +37,8 @@
 /* SAREA area needs to be at least a page */
 #if defined(__alpha__)
 #define SAREA_MAX                       0x2000U
+#elif defined(__mips__)
+#define SAREA_MAX                       0x4000U
 #elif defined(__ia64__)
 #define SAREA_MAX                       0x10000U       /* 64kB */
 #else
-- 
1.7.7.3


<Prev in Thread] Current Thread [Next in Thread>