mirror of
https://github.com/torvalds/linux.git
synced 2026-11-08 21:24:02 +01:00
drm/amd/display: fix HPD program filter programming
[why] fix a regression when moving logic from dal_hw_hpd_set_config to link_enc: Toggle_filter HW register programming is in wrong unit, which caused the connection time extreamly long. Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@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
cadc58e024
commit
6ee70c955f
|
|
@ -58,8 +58,8 @@ bool dcn42_program_hpd_filter(struct link_encoder *enc, int delay_on_connect_in_
|
|||
struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc);
|
||||
|
||||
HPD_REG_SET_2(DC_HPD_TOGGLE_FILT_CNTL, 0,
|
||||
DC_HPD_CONNECT_INT_DELAY, delay_on_connect_in_ms,
|
||||
DC_HPD_DISCONNECT_INT_DELAY, delay_on_disconnect_in_ms);
|
||||
DC_HPD_CONNECT_INT_DELAY, delay_on_connect_in_ms / 10,
|
||||
DC_HPD_DISCONNECT_INT_DELAY, delay_on_disconnect_in_ms / 10);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user