drm/amdgpu: enable the ring and IB test for slave kcq

With the mec FW update to utilize the mqd base set by
driver for kcq mapping, slave kcq ring test and IB test
can be re-enabled.

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Shiwu Zhang
2022-06-03 11:08:12 +08:00
committed by Alex Deucher
parent 89cf4549a9
commit 147862d00b
3 changed files with 33 additions and 45 deletions

View File

@@ -433,11 +433,6 @@ int amdgpu_ib_ring_tests(struct amdgpu_device *adev)
else
tmo = tmo_gfx;
/* skip ib test on the slave kcq */
if (ring->funcs->type == AMDGPU_RING_TYPE_COMPUTE &&
!amdgpu_gfx_is_master_xcc(adev, ring->xcc_id))
continue;
r = amdgpu_ring_test_ib(ring, tmo);
if (!r) {
DRM_DEV_DEBUG(adev->dev, "ib test on %s succeeded\n",