summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2023-12-01 16:25:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-12-06 23:22:35 +0300
commitc81e13b929df2fd16dce87ac36672978f10eae1c (patch)
treecfd2bda0f2058c095b0e25f6dc26ff41066fa5ce /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent1fb9d7b975baba081724be8ff6370b1a71a8aea4 (diff)
downloadlinux-c81e13b929df2fd16dce87ac36672978f10eae1c.tar.xz
drm/amd/display: Hande writeback request from userspace
[WHAT] Handle writeback requests and fill in the required information for DWB programming and setup. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> 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 {