drm/amdgpu: drop IH_CHICKEN programming from vega10 ih block
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 30 Nov 2020 16:23:16 +0000 (00:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:06:08 +0000 (15:06 -0500)
except for RENOIR, it is not correct to have
IH_CHICKEN programming in vega10 ih block.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega10_ih.c

index 17c0a07..44021ef 100644 (file)
@@ -274,9 +274,7 @@ static int vega10_ih_irq_init(struct amdgpu_device *adev)
 
        adev->nbio.funcs->ih_control(adev);
 
-       if ((adev->asic_type == CHIP_ARCTURUS &&
-            adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) ||
-           adev->asic_type == CHIP_RENOIR) {
+       if (adev->asic_type == CHIP_RENOIR) {
                ih_chicken = RREG32_SOC15(OSSSYS, 0, mmIH_CHICKEN);
                if (adev->irq.ih.use_bus_addr) {
                        ih_chicken = REG_SET_FIELD(ih_chicken, IH_CHICKEN,