Skip to content
Snippets Groups Projects
Commit f8522fc8 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nvc0: fix suspend/resume of PGRAPH/PCOPYn


We need the physical VRAM address in vinst, even for objects mapped into
a vm, as the gpuobj suspend/resume code uses PMEM to access the object.

Previously, vinst was overloaded to mean "VRAM address" for !VM objects,
and "VM address" for VM objects, causing the wrong data to be accessed
during suspend/resume.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent aba99a84
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment