Mesa (master): radeonsi: fix regression from 32-bit pointers on CI

Marek Olšák mareko at kemper.freedesktop.org
Mon Feb 19 16:56:40 UTC 2018


Module: Mesa
Branch: master
Commit: f78fe98fff672b2a40d64d71e28f37f4a2983589
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f78fe98fff672b2a40d64d71e28f37f4a2983589

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Feb 19 17:55:34 2018 +0100

radeonsi: fix regression from 32-bit pointers on CI

Tested-by: Michel Dänzer <michel.daenzer at amd.com>

---

 src/gallium/drivers/radeonsi/si_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index f07ec50ab7..ec543f2c0e 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -357,7 +357,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
 	if (sctx->b.chip_class == CIK) {
 		sctx->null_const_buf.buffer =
 			si_aligned_buffer_create(screen,
-						   R600_RESOURCE_FLAG_UNMAPPABLE,
+						 R600_RESOURCE_FLAG_32BIT,
 						   PIPE_USAGE_DEFAULT, 16,
 						   sctx->screen->info.tcc_cache_line_size);
 		if (!sctx->null_const_buf.buffer)




More information about the mesa-commit mailing list