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

Huacai Chen chenhuacai at gmail.com
Sat Aug 11 02:32:18 PDT 2012


Signed-off-by: Huacai Chen <chenhc at lemote.com>
Signed-off-by: Hongliang Tao <taohl at lemote.com>
Signed-off-by: Hua Yan <yanh at lemote.com>
Cc: dri-devel at 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



More information about the dri-devel mailing list