drm/amdgpu: Enable IH CAM on GFX9.4.3
This patch enables IH CAM on GFX9.4.3 ASIC. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3cde91172d
commit
40b832aac0
|
@ -265,7 +265,7 @@ static void nbio_v7_9_ih_doorbell_range(struct amdgpu_device *adev,
|
|||
ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range,
|
||||
DOORBELL0_CTRL_ENTRY_0,
|
||||
BIF_DOORBELL0_RANGE_SIZE_ENTRY,
|
||||
0x4);
|
||||
0x8);
|
||||
|
||||
ih_doorbell_ctrl = REG_SET_FIELD(ih_doorbell_ctrl,
|
||||
S2A_DOORBELL_ENTRY_1_CTRL,
|
||||
|
@ -278,7 +278,7 @@ static void nbio_v7_9_ih_doorbell_range(struct amdgpu_device *adev,
|
|||
S2A_DOORBELL_PORT1_RANGE_OFFSET, 0);
|
||||
ih_doorbell_ctrl = REG_SET_FIELD(ih_doorbell_ctrl,
|
||||
S2A_DOORBELL_ENTRY_1_CTRL,
|
||||
S2A_DOORBELL_PORT1_RANGE_SIZE, 0x4);
|
||||
S2A_DOORBELL_PORT1_RANGE_SIZE, 0x8);
|
||||
ih_doorbell_ctrl = REG_SET_FIELD(ih_doorbell_ctrl,
|
||||
S2A_DOORBELL_ENTRY_1_CTRL,
|
||||
S2A_DOORBELL_PORT1_AWADDR_31_28_VALUE, 0);
|
||||
|
|
|
@ -334,7 +334,8 @@ static int vega20_ih_irq_init(struct amdgpu_device *adev)
|
|||
vega20_setup_retry_doorbell(adev->irq.retry_cam_doorbell_index));
|
||||
|
||||
/* Enable IH Retry CAM */
|
||||
if (adev->ip_versions[OSSSYS_HWIP][0] == IP_VERSION(4, 4, 0))
|
||||
if (adev->ip_versions[OSSSYS_HWIP][0] == IP_VERSION(4, 4, 0) ||
|
||||
adev->ip_versions[OSSSYS_HWIP][0] == IP_VERSION(4, 4, 2))
|
||||
WREG32_FIELD15(OSSSYS, 0, IH_RETRY_INT_CAM_CNTL_ALDEBARAN,
|
||||
ENABLE, 1);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue