mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
drm/amd/display: Make DCN32 functions available to future DCNs
[Why & How] Make DCN32 functions available for more DCNs. Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
057e335c71
commit
7108a1c127
|
|
@ -42,7 +42,7 @@
|
|||
mpc30->mpc_shift->field_name, mpc30->mpc_mask->field_name
|
||||
|
||||
|
||||
static void mpc32_mpc_init(struct mpc *mpc)
|
||||
void mpc32_mpc_init(struct mpc *mpc)
|
||||
{
|
||||
struct dcn30_mpc *mpc30 = TO_DCN30_MPC(mpc);
|
||||
int mpcc_id;
|
||||
|
|
@ -254,7 +254,7 @@ static void mpc32_program_post1dlut_pwl(
|
|||
}
|
||||
}
|
||||
|
||||
static bool mpc32_program_post1dlut(
|
||||
bool mpc32_program_post1dlut(
|
||||
struct mpc *mpc,
|
||||
const struct pwl_params *params,
|
||||
uint32_t mpcc_id)
|
||||
|
|
@ -701,7 +701,7 @@ static void mpc32_power_on_shaper_3dlut(
|
|||
}
|
||||
|
||||
|
||||
static bool mpc32_program_shaper(
|
||||
bool mpc32_program_shaper(
|
||||
struct mpc *mpc,
|
||||
const struct pwl_params *params,
|
||||
uint32_t mpcc_id)
|
||||
|
|
@ -897,7 +897,7 @@ static void mpc32_set_3dlut_mode(
|
|||
}
|
||||
|
||||
|
||||
static bool mpc32_program_3dlut(
|
||||
bool mpc32_program_3dlut(
|
||||
struct mpc *mpc,
|
||||
const struct tetrahedral_params *params,
|
||||
int mpcc_id)
|
||||
|
|
|
|||
|
|
@ -310,6 +310,19 @@ struct dcn32_mpc_registers {
|
|||
MPC_REG_VARIABLE_LIST_DCN3_0;
|
||||
MPC_REG_VARIABLE_LIST_DCN32;
|
||||
};
|
||||
void mpc32_mpc_init(struct mpc *mpc);
|
||||
bool mpc32_program_3dlut(
|
||||
struct mpc *mpc,
|
||||
const struct tetrahedral_params *params,
|
||||
int mpcc_id);
|
||||
bool mpc32_program_post1dlut(
|
||||
struct mpc *mpc,
|
||||
const struct pwl_params *params,
|
||||
uint32_t mpcc_id);
|
||||
bool mpc32_program_shaper(
|
||||
struct mpc *mpc,
|
||||
const struct pwl_params *params,
|
||||
uint32_t mpcc_id);
|
||||
|
||||
void dcn32_mpc_construct(struct dcn30_mpc *mpc30,
|
||||
struct dc_context *ctx,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user