aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2020-03-14 01:01:35 -0700
committerMarge Bot <[email protected]>2020-06-22 22:32:03 +0000
commit8c36936832bb2af3edb5d4829e3a8d0a97812379 (patch)
tree78f5a0189be99e04bc08181eafd04d47b44014d6 /src/gallium/drivers/iris
parent4be31ebb61574e9e401da478bd1c3280cef644ce (diff)
iris: Make use of devinfo has_aux_map field
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5572>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c
index 7a654e677ba..c781f99d4b5 100644
--- 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);