diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0947-drm-amdgpu-vcn-Update-ring-point-to-JPEG-before-init.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0947-drm-amdgpu-vcn-Update-ring-point-to-JPEG-before-init.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0947-drm-amdgpu-vcn-Update-ring-point-to-JPEG-before-init.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0947-drm-amdgpu-vcn-Update-ring-point-to-JPEG-before-init.patch new file mode 100644 index 00000000..00a8c1dd --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0947-drm-amdgpu-vcn-Update-ring-point-to-JPEG-before-init.patch @@ -0,0 +1,32 @@ +From e65e870537e516ca5996945ce3383658ac95b3fd Mon Sep 17 00:00:00 2001 +From: James Zhu <James.Zhu@amd.com> +Date: Wed, 12 Dec 2018 14:48:33 -0500 +Subject: [PATCH 0947/2940] drm/amdgpu/vcn:Update ring point to JPEG before + init JPEG wptr + +It is a bug fix. + +Signed-off-by: James Zhu <James.Zhu@amd.com> +Acked-by: Leo Liu <leo.liu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +index 775204315888..5df6ea9e87e0 100644 +--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +@@ -1088,7 +1088,8 @@ static int vcn_v1_0_start_dpg_mode(struct amdgpu_device *adev) + WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_RBC_RB_CNTL), 0, + ~UVD_RBC_RB_CNTL__RB_NO_FETCH_MASK); + +- /* initialize wptr */ ++ /* initialize JPEG wptr */ ++ ring = &adev->vcn.ring_jpeg; + ring->wptr = RREG32_SOC15(UVD, 0, mmUVD_JRBC_RB_WPTR); + + /* copy patch commands to the jpeg ring */ +-- +2.17.1 + |