linux-stable/drivers/gpu/drm/amd/display
Wenjing Liu ef30f441f6 drm/amd/display: define link res and make it accessible to all link interfaces
[why]
There will be a series of re-arch changes in Link Resource Management.
They are more and more muxable link resource objects and the resource is
insufficient for a one to one allocation to all links created.
Therefore a link resource sharing logic is required to determine which
link should use certain link resource.

This commit is the first one in this series that starts by defining a
link resource struct, this struct will be available to all interfaces
that need to perform link programming sequence.

In later commits, we will granduately decouple link resource objects out
of dc link. So instead of access a link resource from dc link. Current
link's resource can be accessible through pipe_ctx->link_res during
commit, or by calling  dc_link_get_cur_link_res function with current
link passed in after commit.

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>
2021-12-30 08:54:44 -05:00
..
amdgpu_dm amdgpu: fix some kernel-doc markup 2021-12-14 16:10:53 -05:00
dc drm/amd/display: define link res and make it accessible to all link interfaces 2021-12-30 08:54:44 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.98 2021-12-30 08:54:44 -05:00
include drm/amd/display: Enable DSC over eDP 2021-11-22 14:45:01 -05:00
modules drm/amd/display: Fix deadlock when falling back to v2 from v3 2021-10-28 14:26:51 -04:00
Kconfig drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 2021-10-05 10:55:41 -04:00
Makefile
TODO