drm/amdgpu: Update ring scheduler info as needed
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 18 Jul 2023 12:11:45 +0000 (17:41 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:39:29 +0000 (13:39 -0400)
commit6cb209ed68e45c8e4b71d97a037ac6b7dbce9b50
treedd4080c52b1fea3f1083c5f8bf91a2bc1d743032
parentc6195ef5eee53ff39a20a4e31ff00e099b09387e
drm/amdgpu: Update ring scheduler info as needed

Not all rings have scheduler associated. Only update scheduler data for
rings with scheduler. It could result in out of bound access as total
rings are more than those associated with particular IPs.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c