]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix NULL pointer when load kfd driver with PP block is disabled
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Wed, 14 Mar 2018 18:44:58 +0000 (14:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 May 2018 19:08:54 +0000 (14:08 -0500)
commit121c96d3dca600cd3889373f7af2783fd4e8f2be
tree6f480d4907e6d7662ba1e4973d6962d7cd76b45d
parent863e658a34c9090bc4e45fb90ed7a2f6570bf3a6
drm/amdgpu: Fix NULL pointer when load kfd driver with PP block is disabled

When PP block is disabled, return a fix value(100M) for mclk and sclk on
bare-metal mode. This will cover the emulation mode as well.

Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c