OSDN Git Service

drm/amd/display: Add Missing HPO Stream Encoder Function Hook
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Tue, 25 Jan 2022 05:57:36 +0000 (00:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jan 2022 20:48:04 +0000 (15:48 -0500)
commita154bf6eda9881aa3dd74cea83dcff6de3ce9680
tree50798c96ffde335813ee2a7ba8b310b9e81c1640
parent6225bb3a88d22594aacea2485dc28ca12d596721
drm/amd/display: Add Missing HPO Stream Encoder Function Hook

[Why]
configure_dp_hpo_throttled_vcp_size() was missing promotion before, but it was covered by
not calling the missing function hook in the old interface hpo_dp_link_encoder->funcs.

Recent refactor replaces with new caller link_hwss->set_throttled_vcp_size
which needs that hook, and that causes null ptr hang.

Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hpo_dp_stream_encoder.h