]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: add picasso support for vcn
authorLikun Gao <Likun.Gao@amd.com>
Tue, 10 Jul 2018 12:17:13 +0000 (20:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:35:15 +0000 (09:35 -0500)
Add vcn support for picasso.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c

index 76e59a6e8311c2fa98a21b925e7baf451927ec1d..93ffba2cbec4a73d4f504597acd2828c76248f6c 100644 (file)
 
 /* Firmware Names */
 #define FIRMWARE_RAVEN         "amdgpu/raven_vcn.bin"
+#define FIRMWARE_PICASSO       "amdgpu/picasso_vcn.bin"
 
 MODULE_FIRMWARE(FIRMWARE_RAVEN);
+MODULE_FIRMWARE(FIRMWARE_PICASSO);
 
 static void amdgpu_vcn_idle_work_handler(struct work_struct *work);
 
@@ -61,6 +63,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
        case CHIP_RAVEN:
                fw_name = FIRMWARE_RAVEN;
                break;
+       case CHIP_PICASSO:
+               fw_name = FIRMWARE_PICASSO;
+               break;
        default:
                return -EINVAL;
        }