diff options
author | Shaoyun Liu <Shaoyun.Liu@amd.com> | 2018-03-14 14:44:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-31 14:08:54 -0500 |
commit | 7ba01f9e12bb3f088f617cf69b589ea37bd5d6ed (patch) | |
tree | 6f480d4907e6d7662ba1e4973d6962d7cd76b45d /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |
parent | ac26b0f3fc41b942f03ec9fd0392e3aa1886800a (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions