]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: enable IH ring 1 and ring 2 v4
authorChristian König <christian.koenig@amd.com>
Tue, 18 Sep 2018 12:51:35 +0000 (14:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:35 +0000 (16:15 -0500)
commitc17219bec521fd2662463f7869ae5e97e4364d0e
treed9f800e183d9115be9a1c668424083b60717c787
parent54aa10e997cda8eb0ab1e38e5a6cf43c6f08a815
drm/amdgpu: enable IH ring 1 and ring 2 v4

The entries are ignored for now, but it at least stops crashing the
hardware when somebody tries to push something to the other IH rings.

v2: limit ring size, add TODO comment
v3: only program rings if they are actually allocated
v4: limit the ring init to Vega10

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
drivers/gpu/drm/amd/amdgpu/vega10_ih.c