Skip to content

Commit

Permalink
drm/amdgpu: enable gfxoff for gc v12.0.0
Browse files Browse the repository at this point in the history
Enable GFXOFF for GC v12.0.0.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Likun Gao authored and Alex Deucher committed May 17, 2024
1 parent d8cd2d6 commit c14d5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c14d5b5

Please sign in to comment.