aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 818edb37fa9c..0af357a1a170 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -3240,7 +3240,8 @@ static int gfx_v8_0_cp_compute_resume(struct amdgpu_device *adev)
3240 3240
3241 /* enable the doorbell if requested */ 3241 /* enable the doorbell if requested */
3242 if (use_doorbell) { 3242 if (use_doorbell) {
3243 if (adev->asic_type == CHIP_CARRIZO) { 3243 if ((adev->asic_type == CHIP_CARRIZO) ||
3244 (adev->asic_type == CHIP_FIJI)) {
3244 WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER, 3245 WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER,
3245 AMDGPU_DOORBELL_KIQ << 2); 3246 AMDGPU_DOORBELL_KIQ << 2);
3246 WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER, 3247 WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER,
@@ -4378,6 +4379,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_gfx = {
4378 .test_ring = gfx_v8_0_ring_test_ring, 4379 .test_ring = gfx_v8_0_ring_test_ring,
4379 .test_ib = gfx_v8_0_ring_test_ib, 4380 .test_ib = gfx_v8_0_ring_test_ib,
4380 .is_lockup = gfx_v8_0_ring_is_lockup, 4381 .is_lockup = gfx_v8_0_ring_is_lockup,
4382 .insert_nop = amdgpu_ring_insert_nop,
4381}; 4383};
4382 4384
4383static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = { 4385static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = {
@@ -4394,6 +4396,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = {
4394 .test_ring = gfx_v8_0_ring_test_ring, 4396 .test_ring = gfx_v8_0_ring_test_ring,
4395 .test_ib = gfx_v8_0_ring_test_ib, 4397 .test_ib = gfx_v8_0_ring_test_ib,
4396 .is_lockup = gfx_v8_0_ring_is_lockup, 4398 .is_lockup = gfx_v8_0_ring_is_lockup,
4399 .insert_nop = amdgpu_ring_insert_nop,
4397}; 4400};
4398 4401
4399static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev) 4402static void gfx_v8_0_set_ring_funcs(struct amdgpu_device *adev)