aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@gmail.com>2012-08-11 05:32:18 -0400
committerDave Airlie <airlied@redhat.com>2012-08-23 19:41:10 -0400
commitfc7b8127dcfd9c4c373eb5295b2da492cec40a8e (patch)
treeb70688fdce6d93536ad34f81758db0316d4f2d51 /include/drm
parent04cf55e1fa5ff0c83756b803a47cb6bd0b39f38b (diff)
drm: Define SAREA_MAX for Loongson (PageSize = 16KB).
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 Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_sarea.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h
index ee5389d22c64..1d1a858a203d 100644
--- a/include/drm/drm_sarea.h
+++ b/include/drm/drm_sarea.h
@@ -37,6 +37,8 @@
37/* SAREA area needs to be at least a page */ 37/* SAREA area needs to be at least a page */
38#if defined(__alpha__) 38#if defined(__alpha__)
39#define SAREA_MAX 0x2000U 39#define SAREA_MAX 0x2000U
40#elif defined(__mips__)
41#define SAREA_MAX 0x4000U
40#elif defined(__ia64__) 42#elif defined(__ia64__)
41#define SAREA_MAX 0x10000U /* 64kB */ 43#define SAREA_MAX 0x10000U /* 64kB */
42#else 44#else