Re: [RFC PATCH 1/1] drm/meson: Support drm_panic

2024-10-02 Thread Yao Zi
ess is true, bailing out when AFBC is enabled should be acceptable. Will try to do some AFBC tests if possible and consider it as a latest solution. btw, I forget to check whether drm_gem_fb_vmap() succeeds. Will fix it later. Thanks for your advice again! Best regards, Yao Zi

[RFC PATCH 1/1] drm/meson: Support drm_panic

2024-10-01 Thread Yao Zi
get_scanout_buffer to make the buffer linear. Tested on TTY and Wayland session (Sway). Signed-off-by: Yao Zi --- drivers/gpu/drm/meson/meson_plane.c | 47 +++-- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson

[RFC PATCH 0/1] meson/drm: Support drm_panic

2024-10-01 Thread Yao Zi
This patch adds drm_panic support for meson-drm, has been tested on A311D with both TTY and Wayland session. It is an RFC since I am not sure whether AFBC enabled case is handled properly and don't find a good test case. Thanks for your time and advice. Yao Zi (1): drm/meson: Support drm_

[PATCH] drm/meson: fix canvas release in bind function

2024-07-03 Thread Yao Zi
Allocated canvases may not be released on the error exit path of meson_drv_bind_master(), leading to resource leaking. Rewrite exit path to release canvases on error. Fixes: 2bf6b5b0e374 ("drm/meson: exclusively use the canvas provider module") Signed-off-by: Yao Zi --- drivers/gpu