drm/amdgpu: disable gfxoff on navi10
authortiancyin <tianci.yin@amd.com>
Thu, 20 Jun 2019 06:56:17 +0000 (14:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Jun 2019 14:31:43 +0000 (09:31 -0500)
The gfxoff brings unstability, disable it by default

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: tiancyin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 81c3b5efd9f52245616053fabbc5b9dce4dec563..0061a0e8ab78c402ee831a9d4f76e98c932f79d2 100644 (file)
@@ -447,9 +447,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev)
 {
        switch (adev->asic_type) {
        case CHIP_NAVI10:
-               if ((adev->gfx.rlc_fw_version < 85) ||
-                   (adev->pm.fw_version < 0x002A0C00))
-                       adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+               adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
                break;
        default:
                break;