]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Move mod_hdcp_displays to mod_hdcp struct
authorIsabel Zhang <isabel.zhang@amd.com>
Fri, 14 Feb 2020 21:32:35 +0000 (16:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:28:50 +0000 (00:28 -0500)
commit4205005d46f3d7d9e4376ad58e6ab22a353d3fdf
treebad1211aea670e52e914c6556b9b095f154eff0f
parente61a1dedc1366618bb92df4fe488b9ec13f09636
drm/amd/display: Move mod_hdcp_displays to mod_hdcp struct

[Why]
Reset connection is called before remove display in mod_hdcp. When
remove display is called, the display structure has been zeroed from
reset connection. Since no displays can be found, remove display does
not properly reset the hardware. This causes validation errors when
another display is plugged into a different port afterwards.

[How]
Moved displays structure out of connections structure. Displays
structure is now directly within mod_hdcp. Displays is no longer zeroed
when reset connection is called.

Signed-off-by: Isabel Zhang <isabel.zhang@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c