diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-09-01 04:44:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-09-02 12:35:52 -0400 |
commit | bddf8026386927985ef6d0d11c3ba78f70b76bad (patch) | |
tree | d6d1a966f5869f21ca9c7a2654035a3088027981 | |
parent | ac01db3dd5a0c7916e804a52752b780c5c18b98d (diff) |
drm/amdgpu: set MEC doorbell range for Fiji
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 3 |
1 files changed, 2 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 956a35822f86..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, |