diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@igalia.com> | 2026-06-26 09:55:58 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:56:47 -0400 |
| commit | 50be7c9b5d5ea55fd40bb411cf324cec99ec7417 (patch) | |
| tree | 9e86078f9d00008fb99eb15949b9d107e9d6a8b8 /drivers/gpu/drm/amd/amdgpu/nv.c | |
| parent | 875a785373327f4c11aaec20e3c765e26f68604e (diff) | |
| download | linux-next-50be7c9b5d5ea55fd40bb411cf324cec99ec7417.tar.gz linux-next-50be7c9b5d5ea55fd40bb411cf324cec99ec7417.zip | |
drm/amdgpu: Do not fiddle with the idle workers too much
Idle workers only need to be canceled or pushed back if we are potentially
idle. Make the both operations conditional on the pre-increment and post-
decrement status of the in-flight job counter.
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
0 files changed, 0 insertions, 0 deletions
