drm/amdgpu/vcn5.0.0: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2024 23:07:03 +0000 (18:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:30 +0000 (15:52 -0500)
commite3eb71cd699e718f12aea5d16d8d06dd93e35332
tree7aa75a8848a561644d91c003ca72be2a205d26a9
parentc07c0c0df92050f2f9a9a009213702e029bb04e0
drm/amdgpu/vcn5.0.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_v5_0_0.c