diff options
author | Luben Tuikov <[email protected]> | 2022-02-03 17:05:12 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-02-07 17:14:16 -0500 |
commit | afa37315917bbc9e71a4359f921eb887470c008c (patch) | |
tree | f4d7c0f3c1d4cc2b115a0621b0f0ee41765b9485 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e56694f718f0f6694c18d7595e61533a2663335e (diff) |
drm/amdgpu: Print once if RAS unsupported
MESA polls for errors every 2-3 seconds. Printing with dev_info() causes
the dmesg log to fill up with the same message, e.g,
[18028.206676] amdgpu 0000:0b:00.0: amdgpu: df doesn't config ras function.
Make it dev_dbg_once(), as it isn't something correctible during boot or
thereafter, so printing just once is sufficient. Also sanitize the message.
Cc: Alex Deucher <[email protected]>
Cc: Hawking Zhang <[email protected]>
Cc: John Clements <[email protected]>
Cc: Tao Zhou <[email protected]>
Cc: yipechai <[email protected]>
Fixes: 8b0fb0e967c1 ("drm/amdgpu: Modify gfx block to fit for the unified ras block data and ops")
Signed-off-by: Luben Tuikov <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions