15ca02815Sjsg /*
25ca02815Sjsg * Copyright 2020 Advanced Micro Devices, Inc.
35ca02815Sjsg *
45ca02815Sjsg * Permission is hereby granted, free of charge, to any person obtaining a
55ca02815Sjsg * copy of this software and associated documentation files (the "Software"),
65ca02815Sjsg * to deal in the Software without restriction, including without limitation
75ca02815Sjsg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
85ca02815Sjsg * and/or sell copies of the Software, and to permit persons to whom the
95ca02815Sjsg * Software is furnished to do so, subject to the following conditions:
105ca02815Sjsg *
115ca02815Sjsg * The above copyright notice and this permission notice shall be included in
125ca02815Sjsg * all copies or substantial portions of the Software.
135ca02815Sjsg *
145ca02815Sjsg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
155ca02815Sjsg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
165ca02815Sjsg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
175ca02815Sjsg * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
185ca02815Sjsg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
195ca02815Sjsg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
205ca02815Sjsg * OTHER DEALINGS IN THE SOFTWARE.
215ca02815Sjsg *
225ca02815Sjsg * Authors: AMD
235ca02815Sjsg *
245ca02815Sjsg */
255ca02815Sjsg
265ca02815Sjsg #include "dcn302_hwseq.h"
275ca02815Sjsg
285ca02815Sjsg #include "dcn30/dcn30_init.h"
295ca02815Sjsg
305ca02815Sjsg #include "dc.h"
315ca02815Sjsg
32*1bb76ff1Sjsg #include "dcn302_init.h"
33*1bb76ff1Sjsg
dcn302_hw_sequencer_construct(struct dc * dc)345ca02815Sjsg void dcn302_hw_sequencer_construct(struct dc *dc)
355ca02815Sjsg {
365ca02815Sjsg dcn30_hw_sequencer_construct(dc);
375ca02815Sjsg
385ca02815Sjsg dc->hwseq->funcs.dpp_pg_control = dcn302_dpp_pg_control;
395ca02815Sjsg dc->hwseq->funcs.hubp_pg_control = dcn302_hubp_pg_control;
405ca02815Sjsg dc->hwseq->funcs.dsc_pg_control = dcn302_dsc_pg_control;
415ca02815Sjsg }
42