Commit a49bf8fb authored by Eric Anholt's avatar Eric Anholt

drm/vc4: Drop debug print at boot with DPI enabled.

Unlike the other encoders in the driver, I've also dropped the debug
dump function.  There's only really one register to this device, and
we have the debugfs reg entry still.
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170208204701.29013-1-eric@anholt.net
parent 813a7878
...@@ -144,17 +144,6 @@ static const struct { ...@@ -144,17 +144,6 @@ static const struct {
DPI_REG(DPI_ID), DPI_REG(DPI_ID),
}; };
static void vc4_dpi_dump_regs(struct vc4_dpi *dpi)
{
int i;
for (i = 0; i < ARRAY_SIZE(dpi_regs); i++) {
DRM_INFO("0x%04x (%s): 0x%08x\n",
dpi_regs[i].reg, dpi_regs[i].name,
DPI_READ(dpi_regs[i].reg));
}
}
#ifdef CONFIG_DEBUG_FS #ifdef CONFIG_DEBUG_FS
int vc4_dpi_debugfs_regs(struct seq_file *m, void *unused) int vc4_dpi_debugfs_regs(struct seq_file *m, void *unused)
{ {
...@@ -416,8 +405,6 @@ static int vc4_dpi_bind(struct device *dev, struct device *master, void *data) ...@@ -416,8 +405,6 @@ static int vc4_dpi_bind(struct device *dev, struct device *master, void *data)
if (IS_ERR(dpi->regs)) if (IS_ERR(dpi->regs))
return PTR_ERR(dpi->regs); return PTR_ERR(dpi->regs);
vc4_dpi_dump_regs(dpi);
if (DPI_READ(DPI_ID) != DPI_ID_VALUE) { if (DPI_READ(DPI_ID) != DPI_ID_VALUE) {
dev_err(dev, "Port returned 0x%08x for ID instead of 0x%08x\n", dev_err(dev, "Port returned 0x%08x for ID instead of 0x%08x\n",
DPI_READ(DPI_ID), DPI_ID_VALUE); DPI_READ(DPI_ID), DPI_ID_VALUE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment