drm/amd/display: Update hdcp display config
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 6 Aug 2019 21:43:53 +0000 (17:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:58 +0000 (09:10 -0500)
commitd462fcf5012bdffb8f182eae01f73439bf4176f9
treedce38d462ae722f1a9e4009b2b44ccd2d9fbad94
parent411491fb88955ada509f194faa7559249aa5aa7b
drm/amd/display: Update hdcp display config

[Why]
We need to update the hdcp display parameter whenever the link is
updated, so the next time there is an update to hdcp we have the
latest display info

[How]
Create a callback, and use this anytime there is a change in the link. This will
be used later by the dm.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/core_types.h