diff options
author | Alex Hung <[email protected]> | 2023-12-01 06:25:36 -0700 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-12-06 15:22:35 -0500 |
commit | f872e2f5f0beabd34c03799a5c597f6ba47b51cc (patch) | |
tree | 65ec9467cf8e59c09e2eca72fd7910884b45c3fc /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
parent | ab37b88ed9de9de8d582683f7ea17059f1251a7f (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.
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.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; }; |