]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: msm: Quiet down plane errors in atomic_check
authorJohn Stultz <john.stultz@linaro.org>
Tue, 7 Jan 2020 20:28:52 +0000 (20:28 +0000)
committerRob Clark <robdclark@chromium.org>
Sun, 12 Jan 2020 18:35:55 +0000 (10:35 -0800)
commitb55f91a00630b8a73c05efcaace90b653e30397b
tree63f66e9fc094da2b0776e22bfe231ec37e7451d3
parente3ff68812384dd7f219b331535ede94b0974d5a7
drm: msm: Quiet down plane errors in atomic_check

With the db845c running AOSP, I see the following error on every
frame on the home screen:
  [drm:dpu_plane_atomic_check:915] [dpu error]plane33 invalid src 2880x1620+0+470 line:2560

This is due to the error paths in atomic_check using
DPU_ERROR_PLANE(), and the drm_hwcomposer using atomic_check
to decide how to composite the frame (thus it expects to see
atomic_check to fail).

In order to avoid spamming the logs, this patch converts the
DPU_ERROR_PLANE() calls to DPU_DEBUG_PLANE() calls in
atomic_check.

Cc: Todd Kjos <tkjos@google.com>
Cc: Alistair Delva <adelva@google.com>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c