summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@gmail.com>2012-08-11 09:32:18 +0000
committerDave Airlie <airlied@redhat.com>2012-08-24 09:41:10 +1000
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 ee5389d22c6..1d1a858a203 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