From: Ben Skeggs Date: Wed, 25 May 2011 07:22:43 +0000 (+1000) Subject: drm/nvc0: fix suspend/resume of PGRAPH/PCOPYn X-Git-Tag: v3.1-rc1~230^2~22^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8522fc80f2e0392fc44b069f61721bd25907270;p=pandora-kernel.git 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: Ben Skeggs --- Reading git-diff-tree failed