]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/vce1: Clean up register definitions
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 7 Nov 2025 15:57:39 +0000 (16:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2025 02:54:18 +0000 (21:54 -0500)
commit1b8ed1168a78e21acac5ee8ba6de42e7ccc2360f
treed092b3d580e74389af9f2ac59769cc4c9857675d
parente583d31f44a78c8d9ed9901dca7645b4857414a4
drm/amdgpu/vce1: Clean up register definitions

The sid.h header contained some VCE1 register definitions, but
they were using byte offsets (probably copied from the old radeon
driver). Move all of these to the proper VCE1 headers and ensure
they are in dword offsets.

Also add the register definitions that we need for the
firmware validation mechanism in VCE1.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Co-developed-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sid.h
drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_d.h
drivers/gpu/drm/amd/include/asic_reg/vce/vce_1_0_sh_mask.h