diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-01-30 04:53:20 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-15 19:15:30 +0300 |
commit | 2a84e48e9712ea8591a10dd59d59ccab3d54efd6 (patch) | |
tree | 288279f8c1c4ccf510330333b6887ab54c642848 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 1decbf6bb0b4dc56c9da6c5e57b994ebfc2be3aa (diff) | |
download | linux-2a84e48e9712ea8591a10dd59d59ccab3d54efd6.tar.xz |
drm/amdgpu: Only add rqs for initialized rings.
I don't see another way to figure out if a ring is initialized if
the hardware block might not be initialized.
Entities have been fixed up to handle num_rqs = 0.
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions