diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-05-01 06:39:08 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-24 06:56:07 (GMT) |
commit | 7f2062e9de357e4158645b72b472ccba229cb3aa (patch) | |
tree | ba756779daa12146fd5016965da0b24eaf497213 /drivers/gpu/drm/nouveau/nva3_copy.c | |
parent | 03bd6efa1468830d1dc9380654229d427aa487d7 (diff) | |
download | linux-fsl-qoriq-7f2062e9de357e4158645b72b472ccba229cb3aa.tar.xz |
drm/nv50: remove execution engine context saves on suspend
Now triggered automagically by the GPU on PFIFO takedown.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nva3_copy.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nva3_copy.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/nouveau/nva3_copy.c b/drivers/gpu/drm/nouveau/nva3_copy.c index 8f356d5..b63ef87 100644 --- a/drivers/gpu/drm/nouveau/nva3_copy.c +++ b/drivers/gpu/drm/nouveau/nva3_copy.c @@ -143,13 +143,6 @@ static int nva3_copy_fini(struct drm_device *dev, int engine, bool suspend) { nv_mask(dev, 0x104048, 0x00000003, 0x00000000); - - /* trigger fuc context unload */ - nv_wait(dev, 0x104008, 0x0000000c, 0x00000000); - nv_mask(dev, 0x104054, 0x40000000, 0x00000000); - nv_wr32(dev, 0x104000, 0x00000008); - nv_wait(dev, 0x104008, 0x00000008, 0x00000000); - nv_wr32(dev, 0x104014, 0xffffffff); return 0; } |