]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: Enable bg_fill if there are no planes enabled
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 25 Oct 2024 17:15:58 +0000 (18:15 +0100)
committerDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 27 Nov 2024 14:37:21 +0000 (14:37 +0000)
commit52b0a073167b3679f7dd754903d84dfdc8119211
tree6c936e7b38efcd8a4cb3b90a80e7573ef8d60719
parent3e048861c5ec9b4f1a863af0d5cbfa36030c2b39
drm/vc4: Enable bg_fill if there are no planes enabled

The default was to have enable_bg_fill disabled and the first
plane set it if it wasn't opaque and covering the whole screen.
However that meant that if no planes were enabled, then the
background fill wasn't enabled, and would give a striped
output from the uninitialised output buffer.

Initialise it to enabled to avoid this.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025-drm-vc4-2712-support-v2-27-35efa83c8fc0@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hvs.c