Commit 60ecaaf
drm:amd:amdgpu: Fix missing buffer object unlock in failure path
smatch warning -
1) drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:3615 gfx_v9_0_kiq_resume()
warn: inconsistent returns 'ring->mqd_obj->tbo.base.resv'.
2) drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:6901 gfx_v10_0_kiq_resume()
warn: inconsistent returns 'ring->mqd_obj->tbo.base.resv'.
Signed-off-by: Sukrut Bellary <sukrut.bellary@linux.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 79ef1c9 commit 60ecaaf
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6892 | 6892 | | |
6893 | 6893 | | |
6894 | 6894 | | |
6895 | | - | |
| 6895 | + | |
| 6896 | + | |
6896 | 6897 | | |
| 6898 | + | |
6897 | 6899 | | |
6898 | 6900 | | |
6899 | 6901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3617 | 3617 | | |
3618 | 3618 | | |
3619 | 3619 | | |
3620 | | - | |
| 3620 | + | |
| 3621 | + | |
3621 | 3622 | | |
| 3623 | + | |
3622 | 3624 | | |
3623 | 3625 | | |
3624 | 3626 | | |
| |||
0 commit comments