]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: plane: Merge mtk_plane_enable into mtk_plane_atomic_update
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 4 Aug 2016 02:59:55 +0000 (10:59 +0800)
committerSean Paul <seanpaul@chromium.org>
Mon, 8 Aug 2016 18:20:01 +0000 (14:20 -0400)
commitdd11b631d91e305eab631da294f9fbe4063d5a98
tree47890a495f8b98de707eefa6f61243af3bf7bcf1
parent760e2311df1b067a1aa25eb414d4f3e295036b77
drm/mediatek: plane: Merge mtk_plane_enable into mtk_plane_atomic_update

The mtk_plane_enable is just called once by mtk_plane_atomic_update.
So, merge mtk_plane_enable into mtk_plane_atomic_update.

While we are here, also clean up the function a bit by using an fb local
variables.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1470279597-60453-6-git-send-email-bibby.hsieh@mediatek.com
drivers/gpu/drm/mediatek/mtk_drm_plane.c