OSDN Git Service

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)
commitad710812b5385d0128f870bece22dad25f71d756
treed9f800e183d9115be9a1c668424083b60717c787
parente95b93ce4116780285f11f08a2bf78f48b23ed11
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