Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44858055 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher
Browse files

amdgpu/dc: set a bunch of functions to static.



All of these are unused outside the file they are in.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c6fa5318
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ static enum bp_result bios_parser_get_hpd_info(struct dc_bios *dcb,
	return BP_RESULT_NORECORD;
}

enum bp_result bios_parser_get_device_tag_record(
static enum bp_result bios_parser_get_device_tag_record(
	struct bios_parser *bp,
	ATOM_OBJECT *object,
	ATOM_CONNECTOR_DEVICE_TAG_RECORD **record)
+1 −1
Original line number Diff line number Diff line
@@ -1135,7 +1135,7 @@ bool dcn_validate_bandwidth(
		return false;
}

unsigned int dcn_find_normalized_clock_vdd_Level(
static unsigned int dcn_find_normalized_clock_vdd_Level(
	const struct dc *dc,
	enum dm_pp_clock_type clocks_type,
	int clocks_in_khz)
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ static void set_test_pattern(
			cust_pattern_size);
}

void set_dither_option(struct dc_stream_state *stream,
static void set_dither_option(struct dc_stream_state *stream,
		enum dc_dither_option option)
{
	struct bit_depth_reduction_params params;
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ static bool detect_sink(struct dc_link *link, enum dc_connection_type *type)
	return false;
}

enum ddc_transaction_type get_ddc_transaction_type(
static enum ddc_transaction_type get_ddc_transaction_type(
		enum signal_type sink_signal)
{
	enum ddc_transaction_type transaction_type = DDC_TRANSACTION_TYPE_NONE;
+1 −1
Original line number Diff line number Diff line
@@ -1209,7 +1209,7 @@ static inline bool reached_minimum_link_rate(enum dc_link_rate link_rate)
	return link_rate <= LINK_RATE_LOW;
}

enum dc_lane_count reduce_lane_count(enum dc_lane_count lane_count)
static enum dc_lane_count reduce_lane_count(enum dc_lane_count lane_count)
{
	switch (lane_count) {
	case LANE_COUNT_FOUR:
Loading