Skip to content

Commit

Permalink
drm: Define SAREA_MAX for Loongson (PageSize = 16KB).
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Huacai Chen authored and Dave Airlie committed Aug 23, 2012
1 parent 04cf55e commit fc7b812
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/drm/drm_sarea.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc7b812

Please sign in to comment.