aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2023-07-03 18:17:32 -0600
committerAlex Deucher <alexander.deucher@amd.com>2023-10-03 15:42:06 -0400
commitcd1a4bc22821eea9a98f1beddd1a8d789989a720 (patch)
tree47135a2e65f2f58701f23ad71dfaf5032504ab76 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent01aaeb8c23301194ee063d89c06eae41599698af (diff)
drm/amd/display: Hande writeback request from userspace
[WHAT] Handle writeback requests and fill in the required information for DWB programming and setup. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index 32fe05c810c6..a166d7684719 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -416,6 +416,9 @@ struct amdgpu_crtc {
int otg_inst;
struct drm_pending_vblank_event *event;
+
+ bool wb_pending;
+ struct drm_writeback_connector *wb_conn;
};
struct amdgpu_encoder_atom_dig {