drm/amd/display: Improve logging of validation failures during atomic_check
authorEric Bernstein <eric.bernstein@amd.com>
Thu, 22 Nov 2018 22:04:14 +0000 (17:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:40 +0000 (15:04 -0500)
commit38684e46ef6622f25f141727fd9a9733b43eaf55
treec37515d38194b2cd40432a9e3e9f4b3a5a01dab7
parent380604e27bc9c26ce64a83044aa1ea76ffd28caf
drm/amd/display: Improve logging of validation failures during atomic_check

[Why]
There are different reasons for Validation failure error during
atomic_check

[How]
Add better logging of the reason for validation failure

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_enums.h
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.h
drivers/gpu/drm/amd/display/dc/inc/core_status.h