drm/amd/display: Do not fail if build scaling params fails
authorSung Lee <sung.lee@amd.com>
Wed, 29 Apr 2020 21:24:23 +0000 (17:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:48 +0000 (14:00 -0400)
commit65f9ace4acc1dbfc85e3cecd5aad0fb9ca165ef2
tree55cf59e99e95866c05b19a4b436612390be81650
parent1810f441ae112b0d44fe52ab4147eb768084e978
drm/amd/display: Do not fail if build scaling params fails

[WHY]
Failing validation when building scaling parameters causes corruption to
occur due to pipe splitting with smaller pixel widths than HW supports.
This needs to fail silently for now to hide the corruption until the
corruption itself can be fixed.

[HOW]
Do not fail validation if building scaling params fails.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c