]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/[radeon|amdgpu]: Remove HAINAN board from max_sclk override check
authorYassine Oudjana <y.oudjana@protonmail.com>
Tue, 17 Mar 2020 07:51:27 +0000 (07:51 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 20:58:40 +0000 (16:58 -0400)
Works stable without the overrides.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dpm.c
drivers/gpu/drm/radeon/si_dpm.c

index 4cb4c891120b23fadf37be6502dd4ea2586a0993..0860e85a2d358be2707a69f37207f3d08f27a6ef 100644 (file)
@@ -3439,7 +3439,6 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
 
        if (adev->asic_type == CHIP_HAINAN) {
                if ((adev->pdev->revision == 0x81) ||
-                   (adev->pdev->revision == 0x83) ||
                    (adev->pdev->revision == 0xC3) ||
                    (adev->pdev->device == 0x6664) ||
                    (adev->pdev->device == 0x6665) ||
index 05e8b4d0af3faaa665b63085d939dfd38096f455..2cb85dbe728f0ecbd764d9115e90cbcf7ae802ec 100644 (file)
@@ -2979,7 +2979,6 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
 
        if (rdev->family == CHIP_HAINAN) {
                if ((rdev->pdev->revision == 0x81) ||
-                   (rdev->pdev->revision == 0x83) ||
                    (rdev->pdev->revision == 0xC3) ||
                    (rdev->pdev->device == 0x6664) ||
                    (rdev->pdev->device == 0x6665) ||