Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
gpu
/
drm
/
nouveau
/
nouveau_nvif.c
diff --git
a/kernel/drivers/gpu/drm/nouveau/nouveau_nvif.c
b/kernel/drivers/gpu/drm/nouveau/nouveau_nvif.c
index
ca0ad9d
..
55eb942
100644
(file)
--- a/
kernel/drivers/gpu/drm/nouveau/nouveau_nvif.c
+++ b/
kernel/drivers/gpu/drm/nouveau/nouveau_nvif.c
@@
-72,10
+72,8
@@
nvkm_client_suspend(void *priv)
static void
nvkm_client_driver_fini(void *priv)
{
static void
nvkm_client_driver_fini(void *priv)
{
- struct nvkm_object *client = priv;
- nvkm_client_fini(nv_client(client), false);
- atomic_set(&client->refcount, 1);
- nvkm_object_ref(NULL, &client);
+ struct nvkm_client *client = priv;
+ nvkm_client_del(&client);
}
static int
}
static int
@@
-113,7
+111,7
@@
nvkm_client_driver_init(const char *name, u64 device, const char *cfg,
struct nvkm_client *client;
int ret;
struct nvkm_client *client;
int ret;
- ret = nvkm_client_
create
(name, device, cfg, dbg, &client);
+ ret = nvkm_client_
new
(name, device, cfg, dbg, &client);
*ppriv = client;
if (ret)
return ret;
*ppriv = client;
if (ret)
return ret;