projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd64694
)
drm/nouveau/core: switch to device pri macros
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:08 +0000
(14:54 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:13 +0000
(12:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/core/subdev.c
b/drivers/gpu/drm/nouveau/nvkm/core/subdev.c
index b96cb2cca55e36581ee1fce18c7ac32c7b29bd33..fd1a94c5bf38513613e69f06f59e751c87942e16 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
@@
-64,9
+64,11
@@
_nvkm_subdev_init(struct nvkm_object *object)
int
nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend)
{
+ struct nvkm_device *device = subdev->device;
+
if (subdev->unit) {
- nv
_mask(subdev
, 0x000200, subdev->unit, 0x00000000);
- nv
_mask(subdev
, 0x000200, subdev->unit, subdev->unit);
+ nv
km_mask(device
, 0x000200, subdev->unit, 0x00000000);
+ nv
km_mask(device
, 0x000200, subdev->unit, subdev->unit);
}
return nvkm_object_fini(&subdev->object, suspend);