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