1 From 7a1c157ac856384c47df38e1de2995f55a111b85 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Fri, 17 Feb 2023 13:41:59 +0100
4 Subject: [PATCH] drm/vc4: hvs: Rename hvs_regs list
6 The HVS register set has been heavily modified in the BCM2712, and we'll
7 thus need a separate debugfs_reg32 array for it.
9 The name hvs_regs is thus a bit too generic, so let's rename it to
10 something more specific.
12 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
14 drivers/gpu/drm/vc4/vc4_hvs.c | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
17 --- a/drivers/gpu/drm/vc4/vc4_hvs.c
18 +++ b/drivers/gpu/drm/vc4/vc4_hvs.c
23 -static const struct debugfs_reg32 hvs_regs[] = {
24 +static const struct debugfs_reg32 vc4_hvs_regs[] = {
25 VC4_REG32(SCALER_DISPCTRL),
26 VC4_REG32(SCALER_DISPSTAT),
27 VC4_REG32(SCALER_DISPID),
28 @@ -1467,8 +1467,8 @@ static int vc4_hvs_bind(struct device *d
29 return PTR_ERR(hvs->regs);
31 hvs->regset.base = hvs->regs;
32 - hvs->regset.regs = hvs_regs;
33 - hvs->regset.nregs = ARRAY_SIZE(hvs_regs);
34 + hvs->regset.regs = vc4_hvs_regs;
35 + hvs->regset.nregs = ARRAY_SIZE(vc4_hvs_regs);
37 if (vc4->gen == VC4_GEN_5) {
38 struct rpi_firmware *firmware;