]> git.dujemihanovic.xyz Git - linux.git/commit
drm/nouveau: uvmm: fix unset region pointer on remap
authorDanilo Krummrich <dakr@redhat.com>
Sun, 20 Aug 2023 22:29:16 +0000 (00:29 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Thu, 24 Aug 2023 00:57:46 +0000 (02:57 +0200)
commitc6b9075cfbd624f2b33bd6fd388dc6f0b7027472
tree55e62caeffc9728924e48d525e8bc1c3a8af71cc
parent6cdcc65fdb0bc59bfca75d0b6fdc54d6ca347ddf
drm/nouveau: uvmm: fix unset region pointer on remap

Transfer the region pointer of a uvma to the new uvma(s) on re-map to
prevent potential shader faults when the re-mapped uvma(s) are unmapped.

Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230820222920.2344-1-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_uvmm.c