aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-21 21:42:39 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-23 15:07:15 +0100
commite40a882365d269061179515cdda1658e4892a213 (patch)
treee856f4efa753837f416fac8a2210e647a07f2902
parentbe66d099cd1013c89e7deb78200b6525a6788c7e (diff)
downloadrcar-kbingham/vsp/v3u.tar.gz
Enable debug on SN65DSI86, DU and VSPkbingham/vsp/v3u
Enable DEBUG for dev_dbg Might want to run: echo 8 > /proc/sys/kernel/printk Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--drivers/gpu/drm/bridge/ti-sn65dsi86.c2
-rw-r--r--drivers/gpu/drm/rcar-du/Makefile3
-rw-r--r--drivers/media/platform/vsp1/Makefile3
3 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
index 0acbccdf52104..314e39ae93efa 100644
--- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
@@ -4,6 +4,8 @@
* datasheet: https://www.ti.com/lit/ds/symlink/sn65dsi86.pdf
*/
+#define DEBUG
+
#include <linux/auxiliary_bus.h>
#include <linux/bits.h>
#include <linux/clk.h>
diff --git a/drivers/gpu/drm/rcar-du/Makefile b/drivers/gpu/drm/rcar-du/Makefile
index adc1b49d02cfd..be3a76fad978b 100644
--- a/drivers/gpu/drm/rcar-du/Makefile
+++ b/drivers/gpu/drm/rcar-du/Makefile
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
+
+ccflags-y := -DDEBUG
+
rcar-du-drm-y := rcar_du_crtc.o \
rcar_du_drv.o \
rcar_du_encoder.o \
diff --git a/drivers/media/platform/vsp1/Makefile b/drivers/media/platform/vsp1/Makefile
index 4bb4dcbef7b55..a356a27ca2297 100644
--- a/drivers/media/platform/vsp1/Makefile
+++ b/drivers/media/platform/vsp1/Makefile
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
+
+ccflags-y := -DDEBUG
+
vsp1-y := vsp1_drv.o vsp1_entity.o vsp1_pipe.o
vsp1-y += vsp1_dl.o vsp1_drm.o vsp1_video.o
vsp1-y += vsp1_rpf.o vsp1_rwpf.o vsp1_wpf.o