drm/i915/perf: use DRM_DEBUG for userspace issues
authorRobert Bragg <robert@sixbynine.org>
Thu, 1 Dec 2016 17:21:52 +0000 (17:21 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 7 Dec 2016 16:03:43 +0000 (17:03 +0100)
commit7708550ce5794d76dce5be608a9a91353c1bb98b
treee5fa8c4ab11bb53777198bed6732c3ac785ce1c7
parent467a14d935c6d95b94e4197bf63e264eab4c5d06
drm/i915/perf: use DRM_DEBUG for userspace issues

Avoid using DRM_ERROR for conditions userspace can trigger with a bad
config when opening a stream or from not reading data in a timely
fashion (whereby the OA buffer fills up). These conditions are tested
by i-g-t which treats error messages as failures if using the test
runner. This wasn't an issue while the i915-perf igt tests were being
run in isolation.

One message relating to seeing a spurious zeroed report was changed to
use DRM_NOTE instead of DRM_ERROR. Ideally this warning shouldn't be
seen, but it's not a serious problem if it is. Considering that the
tail margin mechanism is only a heuristic it's possible we might see
this from time to time.

Signed-off-by: Robert Bragg <robert@sixbynine.org:
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161201172152.10893-1-robert@sixbynine.org
drivers/gpu/drm/i915/i915_perf.c