2024-05-10 11:19:19 +00:00
|
|
|
From aa2cd285e85db50d784092c85be1202008d6007c Mon Sep 17 00:00:00 2001
|
|
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
|
|
Date: Mon, 25 Mar 2024 15:24:12 +0000
|
|
|
|
Subject: [PATCH 0989/1085] 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.
|
|
|
|
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
|
|
---
|
|
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
2024-12-09 23:19:18 +00:00
|
|
|
@@ -1403,7 +1403,7 @@ void vc4_hvs_atomic_flush(struct drm_crt
|
2024-05-10 11:19:19 +00:00
|
|
|
struct drm_plane *plane;
|
|
|
|
struct vc4_plane_state *vc4_plane_state;
|
|
|
|
bool debug_dump_regs = false;
|
|
|
|
- bool enable_bg_fill = false;
|
|
|
|
+ bool enable_bg_fill = true;
|
|
|
|
u32 __iomem *dlist_start, *dlist_next;
|
|
|
|
unsigned int zpos = 0;
|
2024-10-31 09:09:44 +00:00
|
|
|
bool found = false;
|