]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn3.0: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2024 21:10:46 +0000 (16:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:29 +0000 (15:52 -0500)
commit710151263ca5f2ac3d120e3d727d2c75be905d7f
treea403c5f3909bdd84fa0167c1c0da293cf8e63212
parentf98675638f0a818a2eb802103b1e140b091358c4
drm/amdgpu/vcn3.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_v3_0.c