projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2ff21
)
anv: Make the workaround BO a whole page
author
Jason Ekstrand
<jason@jlekstrand.net>
Sun, 23 Jun 2019 14:26:59 +0000
(09:26 -0500)
committer
Jason Ekstrand
<jason@jlekstrand.net>
Wed, 10 Jul 2019 19:35:23 +0000
(19:35 +0000)
I'm not 100% sure how this ever worked because gem_create usually shoots
you if the BO size isn't page-aligned.
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index bfba11fe8c92f9c8dab471c6305f5ee63ba32c2b..c6645a8e843f46efa8e950247a129f7fd15d75af 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-2402,7
+2402,7
@@
VkResult anv_CreateDevice(
goto fail_surface_state_pool;
}
- result = anv_bo_init_new(&device->workaround_bo, device,
1024
);
+ result = anv_bo_init_new(&device->workaround_bo, device,
4096
);
if (result != VK_SUCCESS)
goto fail_binding_table_pool;