]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Fix up bug in psr state machine
authorSean Paul <seanpaul@chromium.org>
Tue, 6 Sep 2016 18:11:53 +0000 (14:11 -0400)
committerSean Paul <seanpaul@chromium.org>
Wed, 21 Sep 2016 13:55:49 +0000 (06:55 -0700)
commitbe91a983eaf272ed0a982e7c92b47e78d7ccc51a
treeaa77c44afc8752ea1320494c540b594e5bde9d84
parentd2f12adc004dd83ce700ecaebabd4f802a586370
drm/rockchip: Fix up bug in psr state machine

The ->set() callback would always be called when transitioning
from FLUSH->DISABLE since we assign state to psr->state right
above the skip condition.

Reported-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_psr.c