drm/vc4: Demote user-accessible DRM_ERROR paths to DRM_DEBUG.
authorEric Anholt <eric@anholt.net>
Tue, 25 Jul 2017 16:27:32 +0000 (09:27 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Aug 2017 20:20:11 +0000 (13:20 -0700)
commitfb95992af1d779806da9a380b14f76ad13764c2f
treefa288996ace299687cbe9b7392e0d8694c5e5448
parent1d5494e965be7b512cc03d48f1bfc6a93a876121
drm/vc4: Demote user-accessible DRM_ERROR paths to DRM_DEBUG.

Userspace shouldn't be able to spam dmesg by passing bad arguments.
This has particularly become an issues since we started using a bad
argument to set_tiling to detect if set_tiling was supported.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 83753117f1de ("drm/vc4: Add get/set tiling ioctls.")
Link: https://patchwork.freedesktop.org/patch/msgid/20170725162733.28007-1-eric@anholt.net
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vc4/vc4_kms.c
drivers/gpu/drm/vc4/vc4_render_cl.c
drivers/gpu/drm/vc4/vc4_validate.c
drivers/gpu/drm/vc4/vc4_validate_shaders.c