[PATCH 1/1] drm/mediatek: Add check framebuffer width and height size before config ovl

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Nov 18 00:44:45 PST 2025


Il 18/11/25 03:22, Xiandong Wang ha scritto:
> During the execution of the IGT test kms_cursor_edge_walk,
> the screen experiences glitches and the hardware hangs.
> It was discovered that the framebuffer dimensions (width and height)
> provided by IGT to the display driver are zero, leading to
> abnormal parameters that cause the hardware to freeze.
> Therefore, it is necessary to verify the buffer dimensions
> before successfully passing the IGT test.
> 
> Signed-off-by: Xiandong Wang <xiandong.wang at mediatek.com>

Needs a Fixes tag.

After which:

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

Cheers,
Angelo





More information about the Linux-mediatek mailing list