mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 3660abb4a8523e988f1345985e89149804e50ebe Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 24 Aug 2023 15:36:21 +0100
|
|
Subject: [PATCH] drm/vc4: Fix dlist debug not resetting the next entry pointer
|
|
|
|
The debug function to display the dlists didn't reset next_entry_start
|
|
when starting each display, so resulting in not stopping the
|
|
list at the correct place.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
@@ -110,7 +110,7 @@ static int vc4_hvs_debugfs_dlist(struct
|
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
|
struct vc4_hvs *hvs = vc4->hvs;
|
|
struct drm_printer p = drm_seq_file_printer(m);
|
|
- unsigned int next_entry_start = 0;
|
|
+ unsigned int next_entry_start;
|
|
unsigned int i, j;
|
|
u32 dlist_word, dispstat;
|
|
|
|
@@ -124,6 +124,7 @@ static int vc4_hvs_debugfs_dlist(struct
|
|
}
|
|
|
|
drm_printf(&p, "HVS chan %u:\n", i);
|
|
+ next_entry_start = 0;
|
|
|
|
for (j = HVS_READ(SCALER_DISPLISTX(i)); j < 256; j++) {
|
|
dlist_word = readl((u32 __iomem *)vc4->hvs->dlist + j);
|