All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	Tim Huang <tim.huang@amd.com>, Huang Rui <ray.huang@amd.com>
Subject: [PATCH 6/8] drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.4
Date: Wed, 11 May 2022 23:22:45 -0400	[thread overview]
Message-ID: <20220512032247.528556-6-alexander.deucher@amd.com> (raw)
In-Reply-To: <20220512032247.528556-1-alexander.deucher@amd.com>

From: Tim Huang <tim.huang@amd.com>

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index 14a7eef0b15f..ae6321af9d88 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
@@ -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):
-- 
2.35.3


  parent reply	other threads:[~2022-05-12  3:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12  3:22 [PATCH 0/8] Add support for SMU v13.0.4 Alex Deucher
2022-05-12  3:22 ` [PATCH 2/8] drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4 Alex Deucher
2022-05-12  3:22 ` [PATCH 3/8] drm/amdgpu/pm: add some common ppt functions for SMU IP v13.0.x Alex Deucher
2022-05-12  3:22 ` [PATCH 4/8] drm/amdgpu/pm: add swsmu ppt implementation for SMU IP v13.0.4 Alex Deucher
2022-05-12  3:22 ` [PATCH 5/8] drm/amdgpu/pm: enable swsmu " Alex Deucher
2022-05-12  3:22 ` Alex Deucher [this message]
2022-05-12  3:22 ` [PATCH 7/8] drm/amdgpu/discovery: add SMU v13.0.4 into the IP discovery list Alex Deucher
2022-05-12  3:22 ` [PATCH 8/8] drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.4 Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220512032247.528556-6-alexander.deucher@amd.com \
    --to=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=ray.huang@amd.com \
    --cc=tim.huang@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.