drm/amd/display: Disable DWB frame capture to emulate oneshot
authorAlex Hung <alex.hung@amd.com>
Fri, 23 Jun 2023 15:40:39 +0000 (09:40 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Oct 2023 19:42:56 +0000 (15:42 -0400)
commit77a66faaccc0455fe30e326e9a997aec8d0abed4
tree9db4e7d8807b329c489287214232b3d9dfd946a8
parentb79a00a4d4f8fc827ca0fc19e259913a81252f6b
drm/amd/display: Disable DWB frame capture to emulate oneshot

[WHY]
drm_writeback requires to capture exact one frame in each writeback
call.

[HOW]
frame_capture is disabled after each writeback is completed.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc_stream.h