forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
04cf55e1fa
commit
fc7b8127dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user