projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04cf55e
)
drm: Define SAREA_MAX for Loongson (PageSize = 16KB).
author
Huacai Chen
<chenhuacai@gmail.com>
Sat, 11 Aug 2012 09:32:18 +0000
(09:32 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 23 Aug 2012 23:41:10 +0000
(09:41 +1000)
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>
include/drm/drm_sarea.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_sarea.h
b/include/drm/drm_sarea.h
index ee5389d22c64745d72cc985d6024a5eec55176d4..1d1a858a203d87f44feb10fa64a9524f00893b86 100644
(file)
--- 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