提交 fc7b8127 编写于 作者: H Huacai Chen 提交者: Dave Airlie

drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

Signed-off-by: NHuacai Chen <chenhc@lemote.com>
Signed-off-by: NHongliang Tao <taohl@lemote.com>
Signed-off-by: NHua Yan <yanh@lemote.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 04cf55e1
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
/* SAREA area needs to be at least a page */ /* SAREA area needs to be at least a page */
#if defined(__alpha__) #if defined(__alpha__)
#define SAREA_MAX 0x2000U #define SAREA_MAX 0x2000U
#elif defined(__mips__)
#define SAREA_MAX 0x4000U
#elif defined(__ia64__) #elif defined(__ia64__)
#define SAREA_MAX 0x10000U /* 64kB */ #define SAREA_MAX 0x10000U /* 64kB */
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册