[PATCH] drm/rockchip: Fix up bug in psr state machine

2016-09-07 Thread Daniel Kurtz
On Wed, Sep 7, 2016 at 3:12 AM, Sean Paul wrote: > 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 > Signed-off-by: Sean Paul Reviewed-by: Daniel Kurtz >

[PATCH] drm/rockchip: Fix up bug in psr state machine

2016-09-06 Thread Sean Paul
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 Signed-off-by: Sean Paul --- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 8 +--- 1 file changed, 5