diff options
| author | Alex Hung <[email protected]> | 2023-05-24 04:07:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-03 19:42:38 +0000 |
| commit | f6893fcb10c7b24526454e465f6ec2563ef044cc (patch) | |
| tree | 9a02c3956193e1c7500f84c3687b4194e98fbaf1 /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amd/display: Fix writeback_info is not removed (diff) | |
| download | kernel-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.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; }; |
