From: Ian Romanick Date: Wed, 22 Jan 2014 22:02:42 +0000 (-0800) Subject: freedreno: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25c14f40f375e06bf12693c330c4fe7ef35a085b;p=mesa.git 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 --- 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;