zink: fix sparse bo placement

the util function here takes a bitmask of memory type indices, not properties.
rename the function and correct the usage

fixes sparse on nvidia blob

Fixes: c71287e70c ("zink: correct sparse bo mem_type_idx placement")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27414>
(cherry picked from commit 3b025d6b42476d27f5e8d6e2347f85874a50eb72)
This commit is contained in:
Mike Blumenkrantz 2024-02-01 10:26:10 -05:00 committed by Eric Engestrom
parent 1933436ada
commit 5da667ad3e
4 changed files with 6 additions and 6 deletions

View file

@ -10224,7 +10224,7 @@
"description": "zink: fix sparse bo placement",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c71287e70c2bf4aac96b24635e48ec13cd31fddf",
"notes": null