]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Use dirtyfb helper
authorSean Paul <seanpaul@chromium.org>
Tue, 11 Jun 2019 16:08:20 +0000 (12:08 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 13 Jun 2019 18:31:10 +0000 (14:31 -0400)
commit07d6c13a6b14700d94778b79f2c582ffdb11b30c
tree3067d2db94ee6ca0cc3e57b4d138c16385b8f300
parent5984c6becf2a1aea61332f55fe64beb592d78e69
drm/rockchip: Use dirtyfb helper

Instead of flushing all vops every time we get a dirtyfb call, use the
damage helper to kick off an atomic commit. Even though we don't use
damage clips, the helper commit will force us through the normal
psr_inhibit_get/put sequence.

Changes in v3:
- Added to the set
Changes in v4:
- None
Changes in v5:
- None

Link to v3: https://patchwork.freedesktop.org/patch/msgid/20190502194956.218441-7-sean@poorly.run
Link to v4: https://patchwork.freedesktop.org/patch/msgid/20190508160920.144739-7-sean@poorly.run

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190611160844.257498-7-sean@poorly.run
drivers/gpu/drm/rockchip/rockchip_drm_fb.c