mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +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>
31 lines
960 B
Diff
31 lines
960 B
Diff
From 31c4c359aa2dbb1a7c095f0a6ef4e13cd46cfd14 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 26 Oct 2023 18:05:09 +0100
|
|
Subject: [PATCH] drm/vc4: Drop WARN for HVS FIFOs not being empty
|
|
|
|
The reset condition for the EMPTY flag in DISPSTATx is 0,
|
|
so seeing as we've just reset the pipeline there is no
|
|
guarantee that the flag will denote empty if it hasn't been
|
|
enabled.
|
|
|
|
Drop the WARN.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
@@ -1005,10 +1005,6 @@ static void __vc4_hvs_stop_channel(struc
|
|
SCALER_DISPSTATX_MODE) !=
|
|
SCALER_DISPSTATX_MODE_DISABLED);
|
|
|
|
- WARN_ON_ONCE((HVS_READ(SCALER_DISPSTATX(chan)) &
|
|
- (SCALER_DISPSTATX_FULL | SCALER_DISPSTATX_EMPTY)) !=
|
|
- SCALER_DISPSTATX_EMPTY);
|
|
-
|
|
out:
|
|
drm_dev_exit(idx);
|
|
}
|