• Ben Skeggs's avatar
    drm/nvc0: fix suspend/resume of PGRAPH/PCOPYn · f8522fc8
    Ben Skeggs authored
    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>
    f8522fc8
nvc0_graph.c 21.9 KB