]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Include sienna_cichlid in USBC PD FW support.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 10 Sep 2020 17:59:33 +0000 (13:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 22:25:40 +0000 (18:25 -0400)
Create sysfs interface also for sienna_cichlid.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index d8c6520ff74addcf52d34a368a866a040c8bd7bd..06757681b2cecc28bc3888aca376f03506a4cd72 100644 (file)
@@ -178,7 +178,7 @@ static int psp_sw_init(void *handle)
                return ret;
        }
 
-       if (adev->asic_type == CHIP_NAVI10) {
+       if (adev->asic_type == CHIP_NAVI10 || adev->asic_type == CHIP_SIENNA_CICHLID) {
                ret= psp_sysfs_init(adev);
                if (ret) {
                        return ret;