From 1083be81c1c5aa7a7472e1eb665a12d4f383a31b Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 15 Dec 2024 15:29:55 +0100 Subject: [PATCH] Add patches/amdgpu.patch --- patches/amdgpu.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patches/amdgpu.patch diff --git a/patches/amdgpu.patch b/patches/amdgpu.patch new file mode 100644 index 0000000..a391c5f --- /dev/null +++ b/patches/amdgpu.patch @@ -0,0 +1,21 @@ +Signed-off-by: David (Ming Qiang) Wu +--- + drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c +index 53249d4ff8ec..9d237b5937fb 100644 +--- a/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c +@@ -1288,7 +1288,7 @@ static int uvd_v7_0_ring_patch_cs_in_place(struct amdgpu_cs_parser *p, + struct amdgpu_job *job, + struct amdgpu_ib *ib) + { +- struct amdgpu_ring *ring = to_amdgpu_ring(job->base.sched); ++ struct amdgpu_ring *ring = amdgpu_job_ring(job); + unsigned i; + + /* No patching necessary for the first instance */ +-- +2.34.1 +