mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02: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> (cherry picked from commit5c81b3546f)
This commit is contained in:
parent
aedb7eb700
commit
ea963009f0
2 changed files with 2 additions and 2 deletions
|
|
@ -1264,7 +1264,7 @@
|
|||
"description": "nvk/nvkmd: Check the correct flag for the Kepler GART workaround",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "1db57bb41424359569b195a93dc7269b1392ab26",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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