mirror_ubuntu-kernels/drivers/gpu/drm/amd
Simon Ser a906331c45 amd/display: downgrade validation failure log level
In amdgpu_dm_atomic_check, dc_validate_global_state is called. On
failure this logs a warning to the kernel journal. However warnings
shouldn't be used for atomic test-only commit failures: user-space
might be perfoming a lot of atomic test-only commits to find the
best hardware configuration.

Downgrade the log to a regular DRM atomic message. While at it, use
the new device-aware logging infrastructure.

This fixes error messages in the kernel when running gamescope [1].

[1]: https://github.com/Plagman/gamescope/issues/245

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
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>
2021-09-07 13:30:50 -04:00
..
acp
amdgpu drm/amdgpu: sdma: clean up identation 2021-09-07 13:30:50 -04:00
amdkfd drm/amdkfd: drop process ref count when xnack disable 2021-09-01 16:55:09 -04:00
display amd/display: downgrade validation failure log level 2021-09-07 13:30:50 -04:00
include drm/amd/display: Add DP 2.0 BIOS and DMUB Support 2021-09-01 16:55:10 -04:00
pm drm/amd/pm: fix the issue of uploading powerplay table 2021-09-07 13:30:37 -04:00