]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/mediatek: Simplify mtk_crtc allocation
authorRosen Penev <rosenp@gmail.com>
Tue, 31 Mar 2026 00:23:57 +0000 (17:23 -0700)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 13 May 2026 14:53:42 +0000 (14:53 +0000)
commitd78733e9508637d556e2d9ca629ab2dfad0276d5
tree7472264856da2001b1c27525ae19f4fa42616a7e
parent38961a5ecba35bad75d616a6c5a85804889887c5
drm/mediatek: Simplify mtk_crtc allocation

Use a flexible array member to combine allocations.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20260331002357.7995-1-rosenp@gmail.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_crtc.c