mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: Adjust secure_display_context data structure
[Why] Variables relates to secure display are spreading out within struct amdgpu_display_manager. [How] Encapsulate relevant variables into struct secure_display_context and adjust relevant affected codes. Reviewed-by: HaoPing Liu <haoping.liu@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -541,16 +541,12 @@ struct amdgpu_display_manager {
|
||||
|
||||
#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
|
||||
/**
|
||||
* @secure_display_ctxs:
|
||||
* @secure_display_ctx:
|
||||
*
|
||||
* Store the ROI information and the work_struct to command dmub and psp for
|
||||
* all crtcs.
|
||||
* Store secure display relevant info. e.g. the ROI information
|
||||
* , the work_struct to command dmub, etc.
|
||||
*/
|
||||
struct secure_display_context *secure_display_ctxs;
|
||||
|
||||
bool secure_display_phy_mapping_updated;
|
||||
int phy_id_mapping_cnt;
|
||||
struct phy_id_mapping phy_id_mapping[AMDGPU_DM_MAX_CRTC];
|
||||
struct secure_display_context secure_display_ctx;
|
||||
#endif
|
||||
/**
|
||||
* @hpd_rx_offload_wq:
|
||||
|
||||
Reference in New Issue
Block a user