Re: [PATCH] drm/mediatek: Init `ddp_comp` with devm_kcalloc()

2024-04-02 Thread AngeloGioacchino Del Regno
Il 28/03/24 17:22, Douglas Anderson ha scritto: In the case where `conn_routes` is true we allocate an extra slot in the `ddp_comp` array but mtk_drm_crtc_create() never seemed to initialize it in the test case I ran. For me, this caused a later crash when we looped through the array in mtk_drm_c

Re: [PATCH] drm/mediatek: Init `ddp_comp` with devm_kcalloc()

2024-03-31 Thread 胡俊光

[PATCH] drm/mediatek: Init `ddp_comp` with devm_kcalloc()

2024-03-28 Thread Douglas Anderson
In the case where `conn_routes` is true we allocate an extra slot in the `ddp_comp` array but mtk_drm_crtc_create() never seemed to initialize it in the test case I ran. For me, this caused a later crash when we looped through the array in mtk_drm_crtc_mode_valid(). This showed up for me when I boo