Contributors: 23
Author Tokens Token Proportion Commits Commit Proportion
Harry Wentland 94 27.17% 5 11.90%
Bhawanpreet Lakha 78 22.54% 5 11.90%
Joshua Aberback 43 12.43% 4 9.52%
Dmytro Laktyushkin 21 6.07% 3 7.14%
Melissa Wen 15 4.34% 2 4.76%
Alex Deucher 11 3.18% 2 4.76%
Anthony Koo 10 2.89% 2 4.76%
Vitaly Prosyak 10 2.89% 1 2.38%
Nicholas Kazlauskas 9 2.60% 1 2.38%
Alvin lee 7 2.02% 1 2.38%
Felipe Clark 7 2.02% 1 2.38%
Yongqiang Sun 7 2.02% 1 2.38%
Charlene Liu 6 1.73% 3 7.14%
Jun Lei 5 1.45% 2 4.76%
Eric Yang 5 1.45% 1 2.38%
Eric Bernstein 4 1.16% 1 2.38%
Yue Hin Lau 3 0.87% 1 2.38%
Andrey Grodzovsky 3 0.87% 1 2.38%
Martin Leung 2 0.58% 1 2.38%
Hersen Wu 2 0.58% 1 2.38%
Jerry (Fangzhi) Zuo 2 0.58% 1 2.38%
Leo (Hanghong) Ma 1 0.29% 1 2.38%
SivapiriyanKumarasamy 1 0.29% 1 2.38%
Total 346 42


/*
* Copyright 2020 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: AMD
 *
 */

#ifndef __DC_HWSS_DCN30_H__
#define __DC_HWSS_DCN30_H__

#include "hw_sequencer_private.h"
#include "dcn20/dcn20_hwseq.h"
struct dc;

void dcn30_init_hw(struct dc *dc);
void dcn30_program_all_writeback_pipes_in_tree(
		struct dc *dc,
		const struct dc_stream_state *stream,
		struct dc_state *context);
void dcn30_update_writeback(
		struct dc *dc,
		struct dc_writeback_info *wb_info,
		struct dc_state *context);
void dcn30_enable_writeback(
		struct dc *dc,
		struct dc_writeback_info *wb_info,
		struct dc_state *context);
void dcn30_disable_writeback(
		struct dc *dc,
		unsigned int dwb_pipe_inst);

bool dcn30_mmhubbub_warmup(
	struct dc *dc,
	unsigned int num_dwb,
	struct dc_writeback_info *wb_info);

void dcn30_log_color_state(struct dc *dc,
			   struct dc_log_buffer_ctx *log_ctx);

bool dcn30_set_blend_lut(struct pipe_ctx *pipe_ctx,
		const struct dc_plane_state *plane_state);

bool dcn30_set_input_transfer_func(struct dc *dc,
				struct pipe_ctx *pipe_ctx,
				const struct dc_plane_state *plane_state);

void dcn30_program_gamut_remap(struct pipe_ctx *pipe_ctx);

bool dcn30_set_output_transfer_func(struct dc *dc,
				struct pipe_ctx *pipe_ctx,
				const struct dc_stream_state *stream);
void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable);
void dcn30_update_info_frame(struct pipe_ctx *pipe_ctx);
void dcn30_program_dmdata_engine(struct pipe_ctx *pipe_ctx);

bool dcn30_does_plane_fit_in_mall(struct dc *dc,
		unsigned int pitch,
		unsigned int height,
		enum surface_pixel_format format,
		struct dc_cursor_attributes *cursor_attr);

bool dcn30_apply_idle_power_optimizations(struct dc *dc, bool enable);

void dcn30_hardware_release(struct dc *dc);

void dcn30_set_disp_pattern_generator(const struct dc *dc,
		struct pipe_ctx *pipe_ctx,
		enum controller_dp_test_pattern test_pattern,
		enum controller_dp_color_space color_space,
		enum dc_color_depth color_depth,
		const struct tg_color *solid_color,
		int width, int height, int offset);

void dcn30_set_hubp_blank(const struct dc *dc,
		struct pipe_ctx *pipe_ctx,
		bool blank_enable);

void dcn30_prepare_bandwidth(struct dc *dc,
	struct dc_state *context);

#endif /* __DC_HWSS_DCN30_H__ */