mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 11:36:49 +00:00
21549dbf7b
Update patch set for new release and add required kernel option
CONFIG_ZRAM_TRACK_ENTRY_ACTIME to generic config
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.66
Manually rebased:
bcm27xx/patches-6.6/950-0092-MMC-added-alternative-MMC-driver.patch
bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
starfive/patches-6.6/1000-serial-8250_dw-Add-starfive-jh7100-hsuart-compatible.patch
Removed upstreamed:
bcm27xx/patches-6.6/950-0029-vc4_hdmi-Avoid-log-spam-for-audio-start-failure.patch[1]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.66&id=e0388a95736abd1f5f5a94221dd1ac24eacbd4d7
Build system: x86/64
Build-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Run-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/17271
(cherry picked from commit 28f534d953
)
Link: https://github.com/openwrt/openwrt/pull/17302
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 78a1315a44243385c57289a2c30f3b25de87b603 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 11 Aug 2022 13:59:34 +0100
|
|
Subject: [PATCH 0036/1085] drm/vc4: Set AXI panic modes for the HVS
|
|
|
|
The HVS can change AXI request mode based on how full the COB
|
|
FIFOs are.
|
|
Until now the vc4 driver has been relying on the firmware to
|
|
have set these to sensible values.
|
|
|
|
With HVS channel 2 now being used for live video, change the
|
|
panic mode for all channels to be explicitly set by the driver,
|
|
and the same for all channels.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
@@ -1379,6 +1379,17 @@ static int vc4_hvs_bind(struct device *d
|
|
dispctrl |= VC4_SET_FIELD(2, SCALER_DISPCTRL_PANIC1);
|
|
dispctrl |= VC4_SET_FIELD(2, SCALER_DISPCTRL_PANIC2);
|
|
|
|
+ /* Set AXI panic mode.
|
|
+ * VC4 panics when < 2 lines in FIFO.
|
|
+ * VC5 panics when less than 1 line in the FIFO.
|
|
+ */
|
|
+ dispctrl &= ~(SCALER_DISPCTRL_PANIC0_MASK |
|
|
+ SCALER_DISPCTRL_PANIC1_MASK |
|
|
+ SCALER_DISPCTRL_PANIC2_MASK);
|
|
+ dispctrl |= VC4_SET_FIELD(2, SCALER_DISPCTRL_PANIC0);
|
|
+ dispctrl |= VC4_SET_FIELD(2, SCALER_DISPCTRL_PANIC1);
|
|
+ dispctrl |= VC4_SET_FIELD(2, SCALER_DISPCTRL_PANIC2);
|
|
+
|
|
HVS_WRITE(SCALER_DISPCTRL, dispctrl);
|
|
|
|
/* Recompute Composite Output Buffer (COB) allocations for the displays
|