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

Commit d359d51c authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: no need to update bo.offset from vma after validate



On chipsets using nouveau_vm, the virtual address stays constant, so
the value set at bo creation time is fine.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e8a863c1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -312,8 +312,6 @@ nouveau_bo_validate(struct nouveau_bo *nvbo, bool interruptible,
	if (ret)
		return ret;

	if (nvbo->vma.node)
		nvbo->bo.offset = nvbo->vma.offset;
	return 0;
}