]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Create a temporary scratch dc_link
authorAric Cyr <Aric.Cyr@amd.com>
Thu, 13 Mar 2025 17:43:41 +0000 (13:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:31 +0000 (15:18 -0400)
commitc82d84d1e46c9dd16050a3a5cc7639ddb3a01eb8
tree9c6fd7d18663a03e3cde4aa84f4ca54cc8ba6dc2
parentd5a7fdc88a2d64242d959942cbd0e1499ebb9806
drm/amd/display: Create a temporary scratch dc_link

Create a temporary scratch dc_link for programming purposes
and fix a copy of pipe_ctx on the stack to a pointer reference.

Reviewed-by: Josip Pavic <josip.pavic@amd.com>
Signed-off-by: Aric Cyr <Aric.Cyr@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>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c