drm/amd/display: Add writeback enable field (wb_enabled)
authorAlex Hung <alex.hung@amd.com>
Fri, 1 Dec 2023 13:25:36 +0000 (06:25 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 20:22:35 +0000 (15:22 -0500)
commitf872e2f5f0beabd34c03799a5c597f6ba47b51cc
tree65ec9467cf8e59c09e2eca72fd7910884b45c3fc
parentab37b88ed9de9de8d582683f7ea17059f1251a7f
drm/amd/display: Add writeback enable field (wb_enabled)

[WHAT]
Add a new field to keep track whether a crtc is previously
writeback-enabled.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
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/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c