]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn5.0.1: convert internal functions to use vcn_inst
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 19:00:57 +0000 (14:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:30 +0000 (15:52 -0500)
commit0a3fb7338fb05285de76ce38fcf56cc3ab61d982
tree62bac7c5db7a25cbaf8e59bcb9b3aa6e3b4b08f8
parente3eb71cd699e718f12aea5d16d8d06dd93e35332
drm/amdgpu/vcn5.0.1: 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_1.c