[PATCH v4] drm/stm: Avoid use-after-free issues with crtc and plane

2024-02-16 Thread Katya Orlova
Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/ Signed-off-by: Katya Orlova --- v4: rebase on the drm-misc v3: style problems v2: use allocations managed by the DRM as Raphael Gallais-Pou suggested. Also add a fix

[PATCH v3] drm/stm: Avoid use-after-free issues with crtc and plane

2024-01-22 Thread Katya Orlova
Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/ Signed-off-by: Katya Orlova --- v3: style problems v2: use allocations managed by the DRM as Raphael Gallais-Pou suggested. Also add a fix for encoder. drivers/gpu

[PATCH v2] drm/stm: Avoid use-after-free issues with crtc and plane

2023-11-24 Thread Katya Orlova
Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/ Signed-off-by: Katya Orlova --- v2: use allocations managed by the DRM as Raphael Gallais-Pou suggested. Also add a fix for encoder. drivers/gpu/drm/stm/drv.c | 3

[PATCH] drm/stm: Avoid use-after-free issues with crtc and plane

2023-10-20 Thread Katya Orlova
Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/ Signed-off-by: Katya Orlova --- drivers/gpu/drm/stm/drv.c | 11 -- drivers/gpu/drm/stm/ltdc.c | 72 ++ 2 files changed, 58

[PATCH] drm/mediatek: mtk_drm_crtc: Avoid inappropriate kfree() in

2023-08-23 Thread Katya Orlova
andle in mtk_crtc") Signed-off-by: Katya Orlova --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c index d40142842f85..ba7307efa675 100644 --- a/drivers/gpu/dr