projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be31eb
)
iris: Make use of devinfo has_aux_map field
author
Jordan Justen
<jordan.l.justen@intel.com>
Sat, 14 Mar 2020 08:01:35 +0000
(
01:01
-0700)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 22 Jun 2020 22:32:03 +0000
(22:32 +0000)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5572>
src/gallium/drivers/iris/iris_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_bufmgr.c
b/src/gallium/drivers/iris/iris_bufmgr.c
index 7a654e677bae154b6ed316b761b1623b07e9a028..c781f99d4b5f71ab75a49b51913aa343e53b8294 100644
(file)
--- a/
src/gallium/drivers/iris/iris_bufmgr.c
+++ b/
src/gallium/drivers/iris/iris_bufmgr.c
@@
-1889,7
+1889,7
@@
iris_bufmgr_create(struct gen_device_info *devinfo, int fd, bool bo_reuse)
bufmgr->handle_table =
_mesa_hash_table_create(NULL, _mesa_hash_uint, _mesa_key_uint_equal);
- if (devinfo->
gen >= 12
) {
+ if (devinfo->
has_aux_map
) {
bufmgr->aux_map_ctx = gen_aux_map_init(bufmgr, &aux_map_allocator,
devinfo);
assert(bufmgr->aux_map_ctx);