summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_vma_manager.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-09-04 13:57:19 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2018-09-04 19:59:56 +0200
commita9734d8ee63346865d5966551ef4aabf8016d8dd (patch)
tree4419d72449aeeb1a7b57ffe49917c533cef6a918 /drivers/gpu/drm/drm_vma_manager.c
parentDocument/gpu: Use new vm_fault_t type (diff)
downloadlinux-a9734d8ee63346865d5966551ef4aabf8016d8dd.tar.xz
linux-a9734d8ee63346865d5966551ef4aabf8016d8dd.zip
drm: Suppress user controlled spam for invalid drm_wait_vblank_ioctl
The ioctl arguments are under control of the user and as such we should resist any temptation to flood the kernel logs with their errors. Relegate the DRM_ERROR to a DRM_DEBUG so the user has to opt into hearing of their own mistakes. (One day we will have a small ringbuffer attached to the task, so that the concerned process can inspect its own debug info for EINVAL without them being hitting syslog at all.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180904115719.24525-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/drm_vma_manager.c')
0 files changed, 0 insertions, 0 deletions