diff options
| author | Shivam Kalra <shivamkalra98@zohomail.in> | 2026-04-03 17:30:26 +0530 |
|---|---|---|
| committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2026-05-13 14:55:46 +0000 |
| commit | 13703c8ee79be7f5237358053262890de0fb1e74 (patch) | |
| tree | 205d501a70eaf27f1e2acfe239fee4209fdc6d18 /include/linux/debugobjects.h | |
| parent | d78733e9508637d556e2d9ca629ab2dfad0276d5 (diff) | |
drm/mediatek: mtk_dpi: Open-code drm_simple_encoder_init()
The helper drm_simple_encoder_init() is a trivial wrapper around
drm_encoder_init() that only provides a static drm_encoder_funcs with
.destroy set to drm_encoder_cleanup(). Open-code the initialization
with a driver-specific instance of drm_encoder_funcs and remove the
dependency on drm_simple_kms_helper.
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Shivam Kalra <shivamkalra98@zohomail.in>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20260403-drm-mediatek-opencode-encoder-init-v1-1-7be86241b876@zohomail.in/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
