drm/amdgpu/vcn1.0: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2024 21:51:36 +0000 (16:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:29 +0000 (15:52 -0500)
commit201fee333d4ca8cc9cdfc3ee27fadf35ca512a14
treef03d493c56937c04becaa1fb4b034f1ba66001da
parent710151263ca5f2ac3d120e3d727d2c75be905d7f
drm/amdgpu/vcn1.0: 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_v1_0.c