Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0df3e67d authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher
Browse files

drm/amdgpu: add setting powergating method for gfx9

parent 727b888f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3355,6 +3355,11 @@ static int gfx_v9_0_late_init(void *handle)
	if (r)
		return r;

	r = amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_GFX,
						   AMD_PG_STATE_GATE);
	if (r)
		return r;

	return 0;
}