diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0244-drm-amdgpu-add-picasso-support-for-vcn.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0244-drm-amdgpu-add-picasso-support-for-vcn.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0244-drm-amdgpu-add-picasso-support-for-vcn.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0244-drm-amdgpu-add-picasso-support-for-vcn.patch new file mode 100644 index 00000000..c04c43d5 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0244-drm-amdgpu-add-picasso-support-for-vcn.patch @@ -0,0 +1,43 @@ +From 18bcaf12e6383d0597b075bcf27e5c52111ad710 Mon Sep 17 00:00:00 2001 +From: Likun Gao <Likun.Gao@amd.com> +Date: Tue, 10 Jul 2018 20:17:13 +0800 +Subject: [PATCH 0244/2940] drm/amdgpu: add picasso support for vcn + +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 | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +index 35211841b7f2..041c2720b318 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +@@ -42,8 +42,10 @@ + + /* 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; + } +-- +2.17.1 + |