]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Downgrade *ERROR* message for invalid user input
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Feb 2014 09:03:50 +0000 (09:03 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:52:54 +0000 (18:52 +0100)
commit435eea3d675ea0ad8c4efc68e5af244597141c63
tree014d46ad06bcad9f4897bd1373e6f414c3917733
parentca4e1aaf132f93091b76057ba7b87d1c09cef121
drm/i915: Downgrade *ERROR* message for invalid user input

When we detect that the user passed along an invalid handle or object,
we emit a warning as an aide for debugging. Since these are indeed only
for debugging user triggerable errors (and the errors are reported back
to userspace by the errno), the messages should only be at the debug
level and not claiming that there is a catastrophic error in the
driver/hardware.

References: https://bugs.freedesktop.org/show_bug.cgi?id=74704
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c