Skip to contentSkip to conversation

first is incorrect if hit NULL/signaled fence

PATCH In review Monk Liu 3 participants 3 messages Aug 11, 2017 – Aug 14, 2017 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Monk Liu

author
#0 lore raw

PATCH 1/1 first is incorrect if hit NULL/signaled fence

From: Monk Liu <[email protected]>

Change-Id Id65a5bc54db074ea7885203bb098665afb052448
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +1 -0
index 4e7265d..c48a321 100644
@@ -1272,6 +1272,7 @@ static int amdgpu_cs_wait_any_fence(struct amdgpu_device *adev,
 			array[i] = fence;
 		} else { /* NULL, the fence has been already signaled */
 			r = 1;
+			first = i;
 			goto out;
 		}
 	}
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1502449145-24917-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Chunming Zhou
#2 lore raw
Quoted 4 lines · Monk Liu

From: Monk Liu <[email protected]>

Change-Id Id65a5bc54db074ea7885203bb098665afb052448
Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +0 -0
index 4e7265d..c48a321 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c static int amdgpu_cs_wait_any_fence(struct amdgpu_device *adev, · line 1278

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +1 -0
@@ -1272,6 +1272,7 @@ static int amdgpu_cs_wait_any_fence(struct amdgpu_device *adev,
  			array[i] = fence;
  		} else { /* NULL, the fence has been already signaled */
  			r = 1;
+			first = i;
  			goto out;
  		}
  	}

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1a8970d4-8353-2aac-d536-b7d735a2a951-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#4 lore raw

Am 14.08.2017 um 03:59 schrieb zhoucm1:

Quoted 8 lines · Monk Liu
Quoted 4 lines

From: Monk Liu <[email protected]>

Change-Id Id65a5bc54db074ea7885203bb098665afb052448
Quoted 15 lines
Quoted 15 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +1 -0
index 4e7265d..c48a321 100644
@@ -1272,6 +1272,7 @@ static int amdgpu_cs_wait_any_fence(struct 
 amdgpu_device *adev,
              array[i] = fence;
          } else { /* NULL, the fence has been already signaled */
              r = 1;
+            first = i;
Quoted 8 lines
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +0 -0
              goto out;
          }
      }

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx