drm/amdgpu/vcn2.5: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2024 18:53:40 +0000 (13:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:29 +0000 (15:52 -0500)
commitf1ab6870402f128a61ad2da47bbed1cc67d7b644
treefaccb409a10c8e8ba59c29649eca70fb4bbe73a9
parent38a404f8afa93c57ecb7868089fdc2c4371eb084
drm/amdgpu/vcn2.5: 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_v2_5.c