drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.4
authorTim Huang <tim.huang@amd.com>
Wed, 11 May 2022 04:09:36 +0000 (12:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 May 2022 14:02:58 +0000 (10:02 -0400)
Enable the SMU IP v13.0.4 GFXOFF control

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

index 14a7eef0b15f8207e50eacef08dc45e95a656db0..ae6321af9d8804f03bc741da9abff41dd74a2fe5 100644 (file)
@@ -836,6 +836,7 @@ int smu_v13_0_gfx_off_control(struct smu_context *smu, bool enable)
        case IP_VERSION(13, 0, 0):
        case IP_VERSION(13, 0, 1):
        case IP_VERSION(13, 0, 3):
+       case IP_VERSION(13, 0, 4):
        case IP_VERSION(13, 0, 5):
        case IP_VERSION(13, 0, 7):
        case IP_VERSION(13, 0, 8):