drm/amd/display: Reset preferred training settings immediately
[Why & How] In order to easily test ilr by immediately reset the preferred training settings, fix the code to disable skip_immediate_retrain. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Solomon Chiu <solomon.chiu@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5cef7e8e2f
commit
d52e77a3ff
@ -2887,7 +2887,7 @@ static ssize_t edp_ilr_write(struct file *f, const char __user *buf,
|
||||
kfree(wr_buf);
|
||||
DRM_DEBUG_DRIVER("Invalid Input value. No HW will be programmed\n");
|
||||
prefer_link_settings.use_link_rate_set = false;
|
||||
dc_link_set_preferred_training_settings(dc, NULL, NULL, link, true);
|
||||
dc_link_set_preferred_training_settings(dc, NULL, NULL, link, false);
|
||||
return size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user