diff options
author | Jesse.Zhang <Jesse.Zhang@amd.com> | 2025-08-06 16:03:13 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-23 10:41:11 -0400 |
commit | eb6910cdaa8a1b5af11df6fd2e9a0b2b9f72a028 (patch) | |
tree | cf5a615c71f75c0464a1ca959aff7be6b7cd1b81 /rust/helpers/platform.c | |
parent | 0c1f3fe9a5f899ac95114e68959a35454af1523d (diff) |
drm/amdgpu: Refactor VCN v5.0.1 HW init into separate instance function
Split the per-instance initialization code from vcn_v5_0_1_hw_init()
into a new vcn_v5_0_1_hw_init_inst() function. This improves code
organization by:
1. Separating the instance-specific initialization logic
2. Making the main init function more readable
3. Following the pattern used in queue reset
The SR-IOV specific initialization remains in the main function since
it has different requirements.
Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Ruili Ji <ruiliji2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions