]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn4.0: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2024 20:38:37 +0000 (15:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:29 +0000 (15:52 -0500)
commit259873561f3be91f5dcf1839ba1c3962642ca626
tree5e4c703d2e4b22ff82564b64d3f5bd1ceb001439
parentf1ab6870402f128a61ad2da47bbed1cc67d7b644
drm/amdgpu/vcn4.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_v4_0.c