diff options
author | Jimmy Kizito <Jimmy.Kizito@amd.com> | 2021-01-05 10:17:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-02 14:05:52 -0500 |
commit | e1f4328f22c0c2c4401326123f05d6ab60e5ff09 (patch) | |
tree | 01a6b5a2bd477e4e316b6333b4e0fe0673896001 /drivers/gpu/drm/amd/display/dc/inc/resource.h | |
parent | 4f8e37dbaf584de6d38f58b3000b0bfd7eaf2ff6 (diff) | |
download | linux-e1f4328f22c0c2c4401326123f05d6ab60e5ff09.tar.gz linux-e1f4328f22c0c2c4401326123f05d6ab60e5ff09.tar.bz2 linux-e1f4328f22c0c2c4401326123f05d6ab60e5ff09.zip |
drm/amd/display: Update link encoder object creation
[Why]
Currently the creation of link encoder objects is tightly coupled to the
creation of link objects. Decoupling link encoder object creation is a
preliminary step in the process of allowing link encoders to be
dynamically assigned to links.
[How]
Add "minimal" link encoder objects which are not associated with any
link until required.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/resource.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/resource.h b/drivers/gpu/drm/amd/display/dc/inc/resource.h index 3d97078d52a9..fe1e5833c96a 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/resource.h +++ b/drivers/gpu/drm/amd/display/dc/inc/resource.h @@ -48,6 +48,7 @@ struct resource_caps { int num_ddc; int num_vmid; int num_dsc; + unsigned int num_dig_link_enc; // Total number of DIGs (digital encoders) in DIO (Display Input/Output). int num_mpc_3dlut; }; |