]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: dpu: Don't queue the frame_done watchdog for cursor
authorSean Paul <seanpaul@chromium.org>
Mon, 28 Jan 2019 20:42:51 +0000 (15:42 -0500)
committerRob Clark <robdclark@chromium.org>
Thu, 18 Apr 2019 17:04:10 +0000 (10:04 -0700)
commitbcbd30f93cd8cd4932671b4f0fbfe9acb25dbbf1
tree6d9b1ba180186f9f1711e776420db3eaf66c632d
parent4f70f29a378651764379fbafbb9dc6963ba7ff62
drm/msm: dpu: Don't queue the frame_done watchdog for cursor

In the case of an async/cursor update, we don't wait for the frame_done
event, which means handle_frame_done is never called, and the frame_done
watchdog isn't canceled. Currently, this results in a frame_done timeout
every time the cursor moves without a synchronous frame following it up
before the timeout expires. Since we don't wait for frame_done, and
don't handle it, we shouldn't modify the watchdog.

Reviewed-by: Fritz Koenig <frkoenig@google.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190128204306.95076-4-sean@poorly.run
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c