diff options
author | Likun Gao <[email protected]> | 2024-04-24 17:20:39 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-17 17:40:37 -0400 |
commit | c14d5b5095cc805b0f3f04182b5e18e618258b86 (patch) | |
tree | 51f1ae4bf55e142af7a730103a7278e502add471 | |
parent | d8cd2d617a264734e94c29bcee5e5b5d6b7f3e92 (diff) |
drm/amdgpu: enable gfxoff for gc v12.0.0
Enable GFXOFF for GC v12.0.0.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c index 045731caa624..6419f98e32b6 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c @@ -3608,6 +3608,7 @@ static int gfx_v12_0_set_powergating_state(void *handle, return 0; switch (amdgpu_ip_version(adev, GC_HWIP, 0)) { + case IP_VERSION(12, 0, 0): case IP_VERSION(12, 0, 1): amdgpu_gfx_off_ctrl(adev, enable); break; |