]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: No need to check gfxoff status after enable gfxoff feature
authorchen gong <curry.gong@amd.com>
Wed, 16 Oct 2019 10:04:02 +0000 (18:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:24:24 +0000 (16:24 -0400)
commit19b8055d2512e4bc600a28a9221b36ae2cb46b08
treeb33a28feb9c4458315b052df0a2f927c1433d737
parent0ca81b71cf775577b24bddbf8944d7dca594734e
drm/amdgpu: No need to check gfxoff status after enable gfxoff feature

smu_send_smc_msg(smu, SMU_MSG_AllowGfxOff) Just turn on a switch.

As to when GPU get into "GFXoff" will be up to drawing load.

So we can not sure which state GPU should be in after enable gfxoff
feature.

Signed-off-by: chen gong <curry.gong@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v12_0.c