diff options
author | Sean Paul <seanpaul@chromium.org> | 2016-08-18 19:01:46 (GMT) |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-09-21 13:55:47 (GMT) |
commit | b883c9ba18a4d527fddc952a35565e34a5d22e15 (patch) | |
tree | 95c633828ad4820f668515525b4d5ee12e04419c /drivers/gpu/drm/rockchip/rockchip_drm_fb.c | |
parent | 52f13a02b7d5f26feb69bf955bef10fbfaafbd7c (diff) | |
download | linux-b883c9ba18a4d527fddc952a35565e34a5d22e15.tar.xz |
drm/rockchip: Don't key off vblank for psr
Instead of keying off vblank for psr, just flush every time
we get an atomic update. This ensures that cursor updates
will properly disable psr (without turning vblank on/off),
and unifies the paths between fb_dirty and atomic psr
enable/disable.
Reviewed-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fb.c')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c index 60bcc48..9890ecc 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c @@ -70,7 +70,7 @@ static int rockchip_drm_fb_dirty(struct drm_framebuffer *fb, struct drm_clip_rect *clips, unsigned int num_clips) { - rockchip_drm_psr_flush(fb->dev); + rockchip_drm_psr_flush_all(fb->dev); return 0; } |