xref: /openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c (revision e6b9d8eddb1772d99a676a906d42865293934edd)
1 // SPDX-License-Identifier: MIT
2 /*
3  * Copyright (C) 2021 Advanced Micro Devices, Inc.
4  *
5  * Authors: AMD
6  */
7 
8 #include "dcn303_hwseq.h"
9 #include "dcn30/dcn30_init.h"
10 #include "dc.h"
11 
12 #include "dcn303_init.h"
13 
14 void dcn303_hw_sequencer_construct(struct dc *dc)
15 {
16 	dcn30_hw_sequencer_construct(dc);
17 
18 	dc->hwseq->funcs.dpp_pg_control = dcn303_dpp_pg_control;
19 	dc->hwseq->funcs.hubp_pg_control = dcn303_hubp_pg_control;
20 	dc->hwseq->funcs.dsc_pg_control = dcn303_dsc_pg_control;
21 	dc->hwseq->funcs.enable_power_gating_plane = dcn303_enable_power_gating_plane;
22 }
23