drm/amd/display: Fix writeback_info never got updated
authorAlex Hung <alex.hung@amd.com>
Fri, 5 May 2023 20:14:38 +0000 (14:14 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Oct 2023 19:42:20 +0000 (15:42 -0400)
commit8a307777c36e15f38c9f23778babcd368144c7d8
tree99a3529ce2a2bfdba935e8d872704ce6db7f5b79
parentc6d3c7b6309726fbe93cf595d6de326fb8295a64
drm/amd/display: Fix writeback_info never got updated

[WHY]
wb_enabled field is set to false before it is used, and the following
code will never be executed.

[HOW]
Setting wb_enable to false after all removal work 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/dc/core/dc_stream.c