drm/amd/display: add event type check before restart the authentication
authorXiaodong Yan <Xiaodong.Yan@amd.com>
Fri, 6 Dec 2019 10:43:53 +0000 (18:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:13:42 +0000 (12:13 -0500)
commitd12babaf15404eb102a84f8f9e6b7112c94c8221
tree1605e845dfaabe9a569bb0bdf47e87fad77d82a7
parentdaa9692db988afad0c124acf77a7cc08cccd844b
drm/amd/display: add event type check before restart the authentication

[Why]
Some combined docks will always trigger CP_IRQ but there's nothing the driver
needs to take care of, but the CP_IRQ breaks the original hdcp state and
triggers the driver to restart the authentication.

[How]
Add the event type check before restart the authentication or resend the stream
management

Signed-off-by: Xiaodong Yan <Xiaodong.Yan@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_transition.c