]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add debug logs for dm_crtc_helper_atomic_check
authorSimon Ser <contact@emersion.fr>
Wed, 2 Dec 2020 22:38:46 +0000 (17:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:39:07 +0000 (17:39 -0500)
commiteeaec445e9f02b3c36ef343daa071edbaa7360bd
treef227f4e349449f6eb40b637c8e51b901b496a620
parent5fc540c91186a32dc891850f3e41221dc0a12bae
drm/amd/display: add debug logs for dm_crtc_helper_atomic_check

Instead of silently failing the atomic check, explain what happened via
a debug log. This makes it easier for user-space to figure out why
something failed.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c