mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
drm/amd/display: Remove unused mpc1_is_mpcc_idle
mpc1_is_mpcc_idle() was added in 2017 by
commit feb4a3cd8e ("drm/amd/display: Integrating MPC pseudocode")
but never used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
568199a5c7
commit
3bd202b3c4
|
|
@ -142,22 +142,6 @@ struct mpcc *mpc1_get_mpcc_for_dpp(struct mpc_tree *tree, int dpp_id)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
bool mpc1_is_mpcc_idle(struct mpc *mpc, int mpcc_id)
|
||||
{
|
||||
struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc);
|
||||
unsigned int top_sel;
|
||||
unsigned int opp_id;
|
||||
unsigned int idle;
|
||||
|
||||
REG_GET(MPCC_TOP_SEL[mpcc_id], MPCC_TOP_SEL, &top_sel);
|
||||
REG_GET(MPCC_OPP_ID[mpcc_id], MPCC_OPP_ID, &opp_id);
|
||||
REG_GET(MPCC_STATUS[mpcc_id], MPCC_IDLE, &idle);
|
||||
if (top_sel == 0xf && opp_id == 0xf && idle)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
void mpc1_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id)
|
||||
{
|
||||
struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc);
|
||||
|
|
|
|||
|
|
@ -173,10 +173,6 @@ void mpc1_update_stereo_mix(
|
|||
struct mpcc_sm_cfg *sm_cfg,
|
||||
int mpcc_id);
|
||||
|
||||
bool mpc1_is_mpcc_idle(
|
||||
struct mpc *mpc,
|
||||
int mpcc_id);
|
||||
|
||||
void mpc1_assert_mpcc_idle_before_connect(
|
||||
struct mpc *mpc,
|
||||
int mpcc_id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user