diff options
author | Huacai Chen <chenhuacai@gmail.com> | 2012-08-11 09:32:18 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-24 09:41:10 +1000 |
commit | fc7b8127dcfd9c4c373eb5295b2da492cec40a8e (patch) | |
tree | b70688fdce6d93536ad34f81758db0316d4f2d51 /include/drm/drm_sarea.h | |
parent | 04cf55e1fa5ff0c83756b803a47cb6bd0b39f38b (diff) | |
download | op-kernel-dev-fc7b8127dcfd9c4c373eb5295b2da492cec40a8e.zip op-kernel-dev-fc7b8127dcfd9c4c373eb5295b2da492cec40a8e.tar.gz |
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/drm_sarea.h')
-rw-r--r-- | 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 |