From 25c14f40f375e06bf12693c330c4fe7ef35a085b Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 22 Jan 2014 14:02:42 -0800 Subject: freedreno: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64 Allocations actually have page alignment, but 64 is still a reasonable value. Signed-off-by: Ian Romanick Reviewed-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 3a155f17e5d..f36bd8be0cd 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -239,6 +239,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_ENDIANNESS: return PIPE_ENDIAN_LITTLE; + case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: + return 64; + default: DBG("unknown param %d", param); return 0; -- cgit v1.2.3