mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-28 20:20:17 -04:00
drm/amd/display: change aux_init to apu version
[why] APU has different refclk as dGPU which is used for AUX_DPHY setup Reviewed-by: Chris Park <chris.park@amd.com> Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Charlene Liu <charlene.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
31fd330b97
commit
6a3c243fdc
@@ -205,7 +205,7 @@ void dcn31_link_encoder_set_dio_phy_mux(
|
||||
}
|
||||
}
|
||||
|
||||
static void enc31_hw_init(struct link_encoder *enc)
|
||||
void enc31_hw_init(struct link_encoder *enc)
|
||||
{
|
||||
struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc);
|
||||
|
||||
|
||||
@@ -283,4 +283,6 @@ bool dcn31_link_encoder_is_in_alt_mode(
|
||||
void dcn31_link_encoder_get_max_link_cap(struct link_encoder *enc,
|
||||
struct dc_link_settings *link_settings);
|
||||
|
||||
void enc31_hw_init(struct link_encoder *enc);
|
||||
|
||||
#endif /* __DC_LINK_ENCODER__DCN31_H__ */
|
||||
|
||||
@@ -119,7 +119,7 @@ void dcn35_link_encoder_setup(
|
||||
|
||||
void dcn35_link_encoder_init(struct link_encoder *enc)
|
||||
{
|
||||
enc32_hw_init(enc);
|
||||
enc31_hw_init(enc);
|
||||
dcn35_link_encoder_set_fgcg(enc, enc->ctx->dc->debug.enable_fine_grain_clock_gating.bits.dio);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user