mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
drm/nv50/disp: inform core when we're not creating a new context
Signed-off-by: Ben Skeggs <[email protected]>
This commit is contained in:
parent
bdd4e843fa
commit
43e6e51c03
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ nv50_disp_data_ctor(struct nouveau_object *parent,
|
|||
if (nv_mclass(parent) != NV_DEVICE_CLASS) {
|
||||
atomic_inc(&parent->refcount);
|
||||
*pobject = parent;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* allocate display hardware to client */
|
||||
|
|
|
|||
Loading…
Reference in a new issue