]> 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)
commit74f84b584f509fc6138911883afb4c1ca7c7f636
tree014d46ad06bcad9f4897bd1373e6f414c3917733
parentc590172e33ace08c649c0ccd28b87fc05d208a93
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