freedreno: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 22 Jan 2014 22:02:42 +0000 (14:02 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jan 2014 16:11:39 +0000 (09:11 -0700)
Allocations actually have page alignment, but 64 is still a reasonable
value.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 3a155f17e5dd6a648b629d5e146d2e88e6728d2c..f36bd8be0cdccc1a983d11ed4cafda05ef000bfb 100644 (file)
@@ -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;