Loading
drm/amd/display: Add frame skip feature support flag
[WHY] The set_replay_frame_skip_number() function should not execute when the link does not support the Frame Skipping feature. [HOW] Add a new field `frame_skip_supported` to struct replay_config to indicate whether the link supports frame skipping. Check this flag at the beginning of set_replay_frame_skip_number() and return early if the feature is not supported. Reviewed-by:Robin Chen <robin.chen@amd.com> Signed-off-by:
ChunTao Tso <chuntao.tso@amd.com> Signed-off-by:
Chenyu Chen <chen-yu.chen@amd.com> Tested-by:
Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>