diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2018-03-08 16:44:47 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-14 16:16:35 -0400 |
commit | 3760f76cbebb455deaaa3e64ad5feb25222e65a9 (patch) | |
tree | c4e56858d9d404e3975de7382f83b36ac6359b47 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | e36ec85998d2ca1bf09bbd9fcb2e2df1e23c8388 (diff) |
drm/amdgpu: Move IH clientid defs to separate file
This is preparation for sharing client ID definitions
between amdgpu and amdkfd
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index d73bbb092202..d1d2c27156b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |||
@@ -1261,23 +1261,23 @@ static int gfx_v9_0_sw_init(void *handle) | |||
1261 | adev->gfx.mec.num_queue_per_pipe = 8; | 1261 | adev->gfx.mec.num_queue_per_pipe = 8; |
1262 | 1262 | ||
1263 | /* KIQ event */ | 1263 | /* KIQ event */ |
1264 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_GRBM_CP, 178, &adev->gfx.kiq.irq); | 1264 | r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_GRBM_CP, 178, &adev->gfx.kiq.irq); |
1265 | if (r) | 1265 | if (r) |
1266 | return r; | 1266 | return r; |
1267 | 1267 | ||
1268 | /* EOP Event */ | 1268 | /* EOP Event */ |
1269 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_GRBM_CP, 181, &adev->gfx.eop_irq); | 1269 | r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_GRBM_CP, 181, &adev->gfx.eop_irq); |
1270 | if (r) | 1270 | if (r) |
1271 | return r; | 1271 | return r; |
1272 | 1272 | ||
1273 | /* Privileged reg */ | 1273 | /* Privileged reg */ |
1274 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_GRBM_CP, 184, | 1274 | r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_GRBM_CP, 184, |
1275 | &adev->gfx.priv_reg_irq); | 1275 | &adev->gfx.priv_reg_irq); |
1276 | if (r) | 1276 | if (r) |
1277 | return r; | 1277 | return r; |
1278 | 1278 | ||
1279 | /* Privileged inst */ | 1279 | /* Privileged inst */ |
1280 | r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_GRBM_CP, 185, | 1280 | r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_GRBM_CP, 185, |
1281 | &adev->gfx.priv_inst_irq); | 1281 | &adev->gfx.priv_inst_irq); |
1282 | if (r) | 1282 | if (r) |
1283 | return r; | 1283 | return r; |