xref: /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn42b/dcn42b_init.c (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright 2026 Advanced Micro Devices, Inc.
5  */
6 
7 #include "dcn20/dcn20_hwseq.h"
8 #include "dcn42/dcn42_init.h"
9 #include "dcn42b_hwseq.h"
10 #include "dcn42b_init.h"
11 
12 void dcn42b_hw_sequencer_init_functions(struct dc *dc)
13 {
14 	/* Initialize with dcn42 functions first */
15 	dcn42_hw_sequencer_init_functions(dc);
16 
17 	/* Override only init_pipes with dcn42b version */
18 	dc->hwseq->funcs.init_pipes = dcn42b_init_pipes;
19 
20 }
21