aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2023-12-01 13:25:36 +0000
committerAlex Deucher <[email protected]>2023-12-06 20:22:35 +0000
commitf872e2f5f0beabd34c03799a5c597f6ba47b51cc (patch)
tree65ec9467cf8e59c09e2eca72fd7910884b45c3fc /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd/display: Fix writeback_info is not removed (diff)
downloadkernel-f872e2f5f0beabd34c03799a5c597f6ba47b51cc.tar.gz
kernel-f872e2f5f0beabd34c03799a5c597f6ba47b51cc.zip
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 <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index a166d7684719..d8083972e393 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -418,6 +418,7 @@ struct amdgpu_crtc {
struct drm_pending_vblank_event *event;
bool wb_pending;
+ bool wb_enabled;
struct drm_writeback_connector *wb_conn;
};