mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
nvk/nvkmd: Check the correct flag for the Kepler GART workaround
Fixes: 1db57bb414 ("nvk/nvkmd: Rework memory placement flags")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34495>
This commit is contained in:
parent
985f5e0875
commit
5c81b3546f
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ nvkmd_nouveau_alloc_tiled_mem(struct nvkmd_dev *_dev,
|
|||
* should but they don't today. Force everything that may be mapped to
|
||||
* use GART for now.
|
||||
*/
|
||||
if (dev_info->chipset < 0x110 && (flags & NOUVEAU_WS_BO_MAP)) {
|
||||
if (dev_info->chipset < 0x110 && (flags & NVKMD_MEM_CAN_MAP)) {
|
||||
assert(domains & NOUVEAU_WS_BO_GART);
|
||||
domains = NOUVEAU_WS_BO_GART;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue