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>
This commit is contained in:
Alex Hung
2023-12-01 06:25:31 -07:00
committed by Alex Deucher
parent 1fb9d7b975
commit c81e13b929
2 changed files with 162 additions and 0 deletions

View File

@@ -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 {