mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-23 08:55:56 -04:00
drm/amd/display: Implement multiple secure display
[Why] Current secure display only work with single display, now make it work with multiple displays. [How] Create secure_display_context for each crtc instance to store its own Region of Interest (ROI) information. v2: squash in warning fix (Alex) Reviewed-by: Wayne Lin <Wayne.Lin@amd.com> Acked-by: Jasdeep Dhillon <jdhillon@amd.com> Signed-off-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -494,11 +494,12 @@ struct amdgpu_display_manager {
|
||||
|
||||
#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
|
||||
/**
|
||||
* @crc_rd_wrk:
|
||||
* @secure_display_ctxs:
|
||||
*
|
||||
* Work to be executed in a separate thread to communicate with PSP.
|
||||
* Store the ROI information and the work_struct to command dmub and psp for
|
||||
* all crtcs.
|
||||
*/
|
||||
struct crc_rd_work *crc_rd_wrk;
|
||||
struct secure_display_context *secure_display_ctxs;
|
||||
#endif
|
||||
/**
|
||||
* @hpd_rx_offload_wq:
|
||||
|
||||
Reference in New Issue
Block a user