]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Normalize reg offsets on JPEG v4.0.3
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 16 Aug 2024 07:10:43 +0000 (12:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 21:40:47 +0000 (17:40 -0400)
commit4481df364d2038eb4a8f5150367b47955940f027
treef5936900ca97109f9f0d4e4975feab2f301959e1
parent0607a50c004798a96e62c089a4c34c220179dcb5
drm/amdgpu: Normalize reg offsets on JPEG v4.0.3

On VFs and SOCs with GC 9.4.4, VCN RRMT is disabled.
Only local register offsets should be used on JPEG v4.0.3 as they cannot
handle remote access to other AIDs. Since only local offsets are used,
the special write to MCM_ADDR register is no longer needed.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c