Commit 38476bd
drm/amdgpu/userq: call dma_resv_wait_timeout without test for signalled
In function amdgpu_userq_gem_va_unmap_validate call
dma_resv_wait_timeout directly. Also since we are waiting
forever we should not be having any return value and hence
no handling needed.
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 4c86e12 commit 38476bd
3 files changed
Lines changed: 11 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
1468 | 1468 | | |
1469 | 1469 | | |
1470 | 1470 | | |
1471 | 1471 | | |
1472 | | - | |
1473 | 1472 | | |
1474 | 1473 | | |
1475 | | - | |
| 1474 | + | |
1476 | 1475 | | |
1477 | 1476 | | |
1478 | 1477 | | |
| |||
1483 | 1482 | | |
1484 | 1483 | | |
1485 | 1484 | | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
| 1485 | + | |
| 1486 | + | |
1494 | 1487 | | |
1495 | 1488 | | |
1496 | 1489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
1982 | 1981 | | |
1983 | 1982 | | |
1984 | 1983 | | |
| |||
2003 | 2002 | | |
2004 | 2003 | | |
2005 | 2004 | | |
2006 | | - | |
2007 | | - | |
2008 | | - | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
| 2005 | + | |
| 2006 | + | |
2012 | 2007 | | |
2013 | 2008 | | |
2014 | 2009 | | |
| |||
0 commit comments