mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
538a1d740c
The patches were generated from the RPi repo with the following command: git format-patch v6.6.58..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
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
|
|
@@ -1400,7 +1400,7 @@ void vc4_hvs_atomic_flush(struct drm_crt
|
|
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;
|
|
bool found = false;
|