aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2023-12-01 13:25:31 +0000
committerAlex Deucher <[email protected]>2023-12-06 20:22:35 +0000
commitc81e13b929df2fd16dce87ac36672978f10eae1c (patch)
treecfd2bda0f2058c095b0e25f6dc26ff41066fa5ce /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd/display: Create fake sink and stream for writeback connector (diff)
downloadkernel-c81e13b929df2fd16dce87ac36672978f10eae1c.tar.gz
kernel-c81e13b929df2fd16dce87ac36672978f10eae1c.zip
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 <[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.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 {