]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Fix UVD dpb min size calculation for H264
authorDavid Rosca <david.rosca@amd.com>
Thu, 30 Jul 2026 15:56:17 +0000 (17:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Aug 2026 14:22:10 +0000 (10:22 -0400)
commit21a8084cd76223a13493237e04d45f5226d7cee6
treeba512da893e2287cb542e2a1edc759a45566ea0a
parent8c9aebcdd9f46f7a14b98d6ab18574b7a48fbb08
drm/amdgpu: Fix UVD dpb min size calculation for H264

This should use actual number of references from the decode
message, instead of maximum derived from level.

Signed-off-by: David Rosca <david.rosca@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 64b525edb7e7bdfcdc77883c5e413804e2396856)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c