Commit de0f5be7 authored by Clay King's avatar Clay King Committed by Alex Deucher
Browse files

drm/amd/display: Delete unused functions



[WHAT]
Removing unused code

Reviewed-by: default avatarJoshua Aberback <joshua.aberback@amd.com>
Signed-off-by: default avatarClay King <clayking@amd.com>
Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
Tested-by: default avatarDan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 63a16df7
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -1069,21 +1069,6 @@ struct mpc_funcs {
	*/
	void (*program_lut_mode)(struct mpc *mpc, const enum MCM_LUT_ID id, const enum MCM_LUT_XABLE xable,
			bool lut_bank_a, int mpcc_id);
	/**
	* @program_3dlut_size:
	*
	* Program 3D LUT size.
	*
	* Parameters:
	* - [in/out] mpc - MPC context.
	* - [in] is_17x17x17 - is 3dlut 17x17x17
	* - [in] mpcc_id
	*
	* Return:
	*
	* void
	*/
	void (*program_3dlut_size)(struct mpc *mpc, bool is_17x17x17, int mpcc_id);

	/**
	 * @mcm:
+0 −8
Original line number Diff line number Diff line
@@ -287,13 +287,6 @@ void mpc401_program_lut_read_write_control(struct mpc *mpc, const enum MCM_LUT_I
	}
}

void mpc401_program_3dlut_size(struct mpc *mpc, bool is_17x17x17, int mpcc_id)
{
	struct dcn401_mpc *mpc401 = TO_DCN401_MPC(mpc);

	REG_UPDATE(MPCC_MCM_3DLUT_MODE[mpcc_id], MPCC_MCM_3DLUT_SIZE, is_17x17x17 ? 0 : 1);
}

void mpc_program_gamut_remap(
	struct mpc *mpc,
	unsigned int mpcc_id,
@@ -611,7 +604,6 @@ static const struct mpc_funcs dcn401_mpc_funcs = {
	.populate_lut = mpc401_populate_lut,
	.program_lut_read_write_control = mpc401_program_lut_read_write_control,
	.program_lut_mode = mpc401_program_lut_mode,
	.program_3dlut_size = mpc401_program_3dlut_size,
};


+0 −5
Original line number Diff line number Diff line
@@ -221,11 +221,6 @@ void mpc401_program_lut_read_write_control(
		bool lut_bank_a,
		int mpcc_id);

void mpc401_program_3dlut_size(
		struct mpc *mpc,
		bool is_17x17x17,
		int mpcc_id);

void mpc401_set_gamut_remap(
	struct mpc *mpc,
	int mpcc_id,