diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2021-11-26 18:46:22 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-30 08:54:44 -0500 |
commit | f3fac9481bc7b9518df18f33b71a6109a245ccc6 (patch) | |
tree | b2f4e3c12a6a88dd2ea090d97169aeed7db0e316 /drivers/gpu/drm/amd/display/dc/inc/core_types.h | |
parent | drm/amd/display: define link res and make it accessible to all link interfaces (diff) | |
download | linux-dev-f3fac9481bc7b9518df18f33b71a6109a245ccc6.tar.xz linux-dev-f3fac9481bc7b9518df18f33b71a6109a245ccc6.zip |
drm/amd/display: populate link res in both detection and validation
[why]
This commit is to populate link res in preparation of the next commit.
The next commit will replace all existing code to use link res instead
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/core_types.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/core_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/core_types.h b/drivers/gpu/drm/amd/display/dc/inc/core_types.h index 9381ea0549d8..0bd28a332fcb 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/core_types.h +++ b/drivers/gpu/drm/amd/display/dc/inc/core_types.h @@ -336,7 +336,11 @@ struct plane_resource { /* all mappable hardware resources used to enable a link */ struct link_resource { +#if defined(CONFIG_DRM_AMD_DC_DCN) + struct hpo_dp_link_encoder *hpo_dp_link_enc; +#else void *dummy; +#endif }; union pipe_update_flags { |