]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn4.0.3: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2024 22:01:49 +0000 (17:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:29 +0000 (15:52 -0500)
commit4a23b9c67021c421a1cf9161e355b2b16e02252b
treebf84c6fab78c6c853a9b460e40a937c236e4ad80
parent259873561f3be91f5dcf1839ba1c3962642ca626
drm/amdgpu/vcn4.0.3: convert internal functions to use vcn_inst

Pass the vcn instance structure to these functions rather
than adev and the instance number.

TODO: clean up the function internals to use the vinst state
directly rather than accessing it indirectly via adev->vcn.inst[].

Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c