mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-31 08:46:59 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 3ee1ecf1524144392a5f792ca4fd6deba2c6b5d5 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <mripard@kernel.org>
|
|
Date: Fri, 21 Jun 2024 16:20:49 +0100
|
|
Subject: [PATCH] drm/vc4: hvs: Rename hvs_regs list
|
|
|
|
The HVS register set has been heavily modified in the BCM2712, and we'll
|
|
thus need a separate debugfs_reg32 array for it.
|
|
|
|
The name hvs_regs is thus a bit too generic, so let's rename it to
|
|
something more specific.
|
|
|
|
Signed-off-by: Maxime Ripard <mripard@kernel.org>
|
|
Reviewed-by: Maxime Ripard <mripard@kernel.org>
|
|
Link: https://patchwork.freedesktop.org/patch/msgid/20240621152055.4180873-26-dave.stevenson@raspberrypi.com
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
@@ -33,7 +33,7 @@
|
|
#include "vc4_drv.h"
|
|
#include "vc4_regs.h"
|
|
|
|
-static const struct debugfs_reg32 hvs_regs[] = {
|
|
+static const struct debugfs_reg32 vc4_hvs_regs[] = {
|
|
VC4_REG32(SCALER_DISPCTRL),
|
|
VC4_REG32(SCALER_DISPSTAT),
|
|
VC4_REG32(SCALER_DISPID),
|
|
@@ -1028,8 +1028,8 @@ static int vc4_hvs_bind(struct device *d
|
|
return PTR_ERR(hvs->regs);
|
|
|
|
hvs->regset.base = hvs->regs;
|
|
- hvs->regset.regs = hvs_regs;
|
|
- hvs->regset.nregs = ARRAY_SIZE(hvs_regs);
|
|
+ hvs->regset.regs = vc4_hvs_regs;
|
|
+ hvs->regset.nregs = ARRAY_SIZE(vc4_hvs_regs);
|
|
|
|
if (vc4->gen == VC4_GEN_5) {
|
|
struct rpi_firmware *firmware;
|