drm/amdgpu: disable KIQ IB tests on Polaris for now
Subsystems (2)
PATCH 1/1 drm/amdgpu: disable KIQ IB tests on Polaris for now
KIQ interrupts doesn't seem to work on Polaris.
--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +6 -0
@@ -885,6 +885,12 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)uint32_t tmp;long r; +/* Disable the KIQ IB test on Polaris for now because interrupts doesn't +* work as they should. +*/ +if (ring == &adev->gfx.kiq.ring && adev->asic_type >=CHIP_POLARIS10 ) +return 0 ; + r =amdgpu_device_wb_get (adev, &index);if (r) {dev_err (adev->dev,"(%ld) failed to allocate wb slot\n" , r);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180919095908.1163-1-christian.koenig-5C7GfCeVMHo@public.gmane.org
Quoted 4 lines · Christian König
KIQ interrupts doesn't seem to work on Polaris.
Signed-off-by Christian König <[email protected]>
Maybe just skip IB tests for KIQ in general. I don't think we ever submit IBs to the KIQ anyway. As long as the ring test passes, I think we are fine.
IIRC, KIQ doesn't use the EOP interrupts (don't remember if it supports it or not), we use some other CP interrupt.
Alex
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +6
-1@@ -885,6 +885,12 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring, long timeout)uint32_t tmp;long r; +/* Disable the KIQ IB test on Polaris for now because interrupts doesn't +* work as they should. +*/ +if (ring == &adev->gfx.kiq.ring && adev->asic_type >=CHIP_POLARIS10 ) +return 0 ; + r =amdgpu_device_wb_get (adev, &index);if (r) {dev_err (adev->dev,"(%ld) failed to allocate wb slot\n" , r); --2.17.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx