projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb1dc5
)
drm/nouveau/cipher: switch to gpuobj accessor macros
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:14 +0000
(14:54 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:28 +0000
(12:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c
b/drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c
index
ddc240d
..
312df6f
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c
@@
-47,10
+47,12
@@
g84_cipher_object_ctor(struct nvkm_object *parent,
if (ret)
return ret;
- nv_wo32(obj, 0x00, nv_mclass(obj));
- nv_wo32(obj, 0x04, 0x00000000);
- nv_wo32(obj, 0x08, 0x00000000);
- nv_wo32(obj, 0x0c, 0x00000000);
+ nvkm_kmap(obj);
+ nvkm_wo32(obj, 0x00, nv_mclass(obj));
+ nvkm_wo32(obj, 0x04, 0x00000000);
+ nvkm_wo32(obj, 0x08, 0x00000000);
+ nvkm_wo32(obj, 0x0c, 0x00000000);
+ nvkm_done(obj);
return 0;
}