mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
drm/amd/display: Delete unused functions
[WHAT] Removing unused code Reviewed-by: Joshua Aberback <joshua.aberback@amd.com> Signed-off-by: Clay King <clayking@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
63a16df7eb
commit
de0f5be791
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user