diff options
author | 2018-03-15 14:45:04 +0800 | |
---|---|---|
committer | 2018-03-16 16:16:49 -0500 | |
commit | 59156faf810e05f5c5241f9a90e6d715d1185cd1 (patch) | |
tree | 3792d8698b42c01e131baa734fd1b3cdb0553283 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | drm/amd/display: fix dereferencing possible ERR_PTR() (diff) | |
download | linux-59156faf810e05f5c5241f9a90e6d715d1185cd1.tar.gz linux-59156faf810e05f5c5241f9a90e6d715d1185cd1.tar.bz2 linux-59156faf810e05f5c5241f9a90e6d715d1185cd1.zip |
drm/amd/pp: Remove the cgs wrapper for notify smu version on APU
Refine commit f49e9bac191b ("drm/amd/pp: Get and save Rv smu version")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index f2dd98d3f5e6..37098c68a645 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -654,11 +654,6 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, else strcpy(fw_name, "amdgpu/vega10_smc.bin"); break; - case CHIP_CARRIZO: - case CHIP_STONEY: - case CHIP_RAVEN: - adev->pm.fw_version = info->version; - return 0; default: DRM_ERROR("SMC firmware not supported\n"); return -EINVAL; |