]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Warn instead of error on REG_WAIT timeout
authorDavid Francis <David.Francis@amd.com>
Wed, 21 Nov 2018 15:44:07 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2018 23:25:10 +0000 (18:25 -0500)
commit00b8630e3bceed694edfbdc94271298e5d5e25ed
tree5cf26a7baf7e0457a151382c9cede318ae8a5cd9
parentb11c93a50240d58ba86bde7d4687b5fe5ba05caf
drm/amd/display: Warn instead of error on REG_WAIT timeout

[Why]
DC warns when a REG_WAIT takes a while and full-on errors
with stack dump on REG_WAIT timeout.  Most of the time it isn't
a real issue.

[How]
Make DC cool its jets - taking a while is a debug message (because
it is not something that normal users should need to be aware of),
and timeouts are warnings (because it technically shouldn't
happen, but it's not a big deal if it does)

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@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/dc_helper.c