]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Ignore k1/k2 values for virtual signal
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 6 Sep 2022 20:36:41 +0000 (16:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:15:17 +0000 (15:15 -0400)
commite85663ba4d354c6726c39a3f44c7cad53f906d45
tree4c0c4e6ac443fa881cc1a7c9754f10fefa549f98
parent9f175bd28d16c30a2f5905137e8d9e13453650bd
drm/amd/display: Ignore k1/k2 values for virtual signal

[Why and How]
We are hitting k1/k2 assert when we are using a virtual signal in the
test; as a result, we are failing some automated tests with a false
positive. This commit addresses this issue by ignoring the assert
condition if we use SIGNAL_TYPE_VIRTUAL.

Reviewed-by: Aurabindo Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c