Skip to content

Commit a153838

Browse files
Jiansong Chenalexdeucher
authored andcommitted
drm/amdgpu: enable GFXOFF for navy_flounder
Enable GFXOFF for navy_flounder. Signed-off-by: Jiansong Chen <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent d392aa0 commit a153838

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7529,6 +7529,7 @@ static int gfx_v10_0_set_powergating_state(void *handle,
75297529
case CHIP_NAVI14:
75307530
case CHIP_NAVI12:
75317531
case CHIP_SIENNA_CICHLID:
7532+
case CHIP_NAVY_FLOUNDER:
75327533
amdgpu_gfx_off_ctrl(adev, enable);
75337534
break;
75347535
default:

drivers/gpu/drm/amd/powerplay/smu_v11_0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ int smu_v11_0_gfx_off_control(struct smu_context *smu, bool enable)
10291029
case CHIP_NAVI14:
10301030
case CHIP_NAVI12:
10311031
case CHIP_SIENNA_CICHLID:
1032+
case CHIP_NAVY_FLOUNDER:
10321033
if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
10331034
return 0;
10341035
if (enable)

0 commit comments

Comments
 (0)