]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: Refactor plane init
authorSean Paul <seanpaul@chromium.org>
Tue, 5 Nov 2019 21:10:18 +0000 (16:10 -0500)
committerCK Hu <ck.hu@mediatek.com>
Wed, 6 Nov 2019 08:00:44 +0000 (16:00 +0800)
commit5536957938264dab66bede49cd7ea219d4642f7b
treeadf7cf65a43edc7d2a56aa4e05b44c7c6c791250
parent2a86352fe6e0647b7f6419b33d176dcfad72b6a2
drm/mediatek: Refactor plane init

Add a couple of functions which enumerate the number of planes for a
component and initialize the planes for a component.

No functional changes in this patch, but it will allow us to selectively
support rotation if the component supports it.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_crtc.c