diff options
author | Christian König <christian.koenig@amd.com> | 2018-08-07 15:52:13 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-27 19:10:06 +0300 |
commit | 573edb241b44162a1478cc74429f94df86e6e71d (patch) | |
tree | 34085a1e35cdea88890aaf8afd70e5cc4c08f8c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 93f15e1c0796f102a62fdc4931e4c5f847c98a12 (diff) | |
download | linux-573edb241b44162a1478cc74429f94df86e6e71d.tar.xz |
drm/scheduler: fix last_scheduled handling
Make sure we access last_scheduled only after checking that there are no
more jobs on the entity.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions