mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-21 23:29:26 -05:00
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>
This commit is contained in:
committed by
Dave Stevenson
parent
808f4055a1
commit
295fbb059f
@@ -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 *dev, struct device *master, void *data)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user