summaryrefslogtreecommitdiff
path: root/include/uapi/linux/android
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-07 17:19:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-09-07 20:30:50 +0300
commita906331c452b41f94f2dedd6eaf415feed08a731 (patch)
tree5670affa4e59a583be5608e7db967d1b815ae5b9 /include/uapi/linux/android
parent67684fcbdd0ef60a52f15e74e0e8a85edc867ce4 (diff)
downloadlinux-a906331c452b41f94f2dedd6eaf415feed08a731.tar.xz
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>
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions