aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2023-05-24 04:07:46 +0000
committerAlex Deucher <[email protected]>2023-10-03 19:42:38 +0000
commitf6893fcb10c7b24526454e465f6ec2563ef044cc (patch)
tree9a02c3956193e1c7500f84c3687b4194e98fbaf1 /drivers/gpu/drm/amd/amdgpu
parentdrm/amd/display: Fix writeback_info is not removed (diff)
downloadkernel-f6893fcb10c7b24526454e465f6ec2563ef044cc.tar.gz
kernel-f6893fcb10c7b24526454e465f6ec2563ef044cc.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. 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')
-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;
};