summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/mcdi_functions.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-09-02 12:45:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-09-05 17:38:42 -0400
commitb7c5334af69d359fcd7a39ed409a08138900ec18 (patch)
treef91ba48e753eb7ac3cfbae69bd49ab01e8e6196a /drivers/cdx/controller/mcdi_functions.c
parent86b6f02a6d504d035f617d3d5627d2a2099877d4 (diff)
drm/radeon: use dev_warn_once() in CS parsers
Older GPUs did not support memory protection, so the kernel driver would validate the command submissions (CS) from userspace to avoid the GPU accessing any memory it shouldn't. Change any error messages in that validation to dev_warn_once() to avoid spamming the kernel log in the event of a bad CS. If users see any of these messages they should report them to the user space component, which in most cases is mesa (https://gitlab.freedesktop.org/mesa/mesa/-/issues). Cc: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20250829171655.GBaLHgh3VOvuM1UfJg@fat_crate.local Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions