diff options
| author | Simon Ser <[email protected]> | 2021-09-07 14:19:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-14 16:18:33 -0400 |
| commit | 7bbee36d71502ab9a341505da89a017c7ae2e6b2 (patch) | |
| tree | 66bef0ef847c3295b94a9914ce6d046f7c0693e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | c92db8d64f9e0313e7ecdc9500db93a5040c9370 (diff) | |
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 <[email protected]>
Signed-off-by: Simon Ser <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions