<div dir="ltr">Also, you've typoed your email address as <a href="mailto:mattthew.brost@intel.com">mattthew.brost@intel.com</a> in a few places here, including the Signed-off-by. It has also ended up in the CC list for reply-all.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 1, 2023 at 5:17 PM Matthew Brost <<a href="mailto:matthew.brost@intel.com">matthew.brost@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Not needed and causes some issues with bulk LRU moves.<br>
<br>
Signed-off-by: Matthew Brost <<a href="mailto:mattthew.brost@intel.com" target="_blank">mattthew.brost@intel.com</a>><br>
---<br>
drivers/gpu/drm/xe/xe_vm.c | 8 +++++---<br>
1 file changed, 5 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c<br>
index 272f0f7f24fe..6c427ff92c44 100644<br>
--- a/drivers/gpu/drm/xe/xe_vm.c<br>
+++ b/drivers/gpu/drm/xe/xe_vm.c<br>
@@ -2064,9 +2064,11 @@ static int vm_bind_ioctl(struct xe_vm *vm, struct xe_vma *vma,<br>
*/<br>
xe_bo_get(vbo);<br>
<br>
- <a href="http://tv_bo.bo" rel="noreferrer" target="_blank">tv_bo.bo</a> = &vbo->ttm;<br>
- tv_bo.num_shared = 1;<br>
- list_add(&tv_bo.head, &objs);<br>
+ if (!vbo->vm) {<br>
+ <a href="http://tv_bo.bo" rel="noreferrer" target="_blank">tv_bo.bo</a> = &vbo->ttm;<br>
+ tv_bo.num_shared = 1;<br>
+ list_add(&tv_bo.head, &objs);<br>
+ }<br>
}<br>
<br>
again:<br>
-- <br>
2.34.1<br>
<br>
</blockquote></div>