Skip to content

Commit

Permalink
drm/nouveau: no need to update bo.offset from vma after validate
Browse files Browse the repository at this point in the history
On chipsets using nouveau_vm, the virtual address stays constant, so
the value set at bo creation time is fine.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jun 23, 2011
1 parent e8a863c commit d359d51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/nouveau/nouveau_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d359d51

Please sign in to comment.