Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43e6e51c authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv50/disp: inform core when we're not creating a new context



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent bdd4e843
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -719,7 +719,7 @@ nv50_disp_data_ctor(struct nouveau_object *parent,
	if (nv_mclass(parent) != NV_DEVICE_CLASS) {
	if (nv_mclass(parent) != NV_DEVICE_CLASS) {
		atomic_inc(&parent->refcount);
		atomic_inc(&parent->refcount);
		*pobject = parent;
		*pobject = parent;
		return 0;
		return 1;
	}
	}


	/* allocate display hardware to client */
	/* allocate display hardware to client */