[PATCH] first is incorrect if hit NULL/signaled fence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 14.08.2017 um 03:59 schrieb zhoucm1:
>
>
> On 2017å¹´08æ??11æ?¥ 18:59, Monk Liu wrote:
>> From: Monk Liu <monk.liu at amd.com>
>>
>> Change-Id: Id65a5bc54db074ea7885203bb098665afb052448
>> Signed-off-by: Monk Liu <monk.liu at amd.com>
> Reviewed-by: Chunming Zhou <david1.zhou at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

>
>> ---
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 
>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
>> index 4e7265d..c48a321 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
>> @@ -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
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux