diff options
author | Alex Hung <[email protected]> | 2023-05-23 22:07:46 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-10-03 15:42:38 -0400 |
commit | f6893fcb10c7b24526454e465f6ec2563ef044cc (patch) | |
tree | 9a02c3956193e1c7500f84c3687b4194e98fbaf1 /drivers/gpu/drm/amd/amdgpu | |
parent | 5b89d2ccc8466e0445a4994cb288fc009b565de5 (diff) |
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.h | 1 |
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; }; |