// SPDX-License-Identifier: GPL-2.0-only /* * Copyright © 2014 Broadcom */ #include <drm/drm_drv.h> #include <linux/seq_file.h> #include <linux/circ_buf.h> #include <linux/ctype.h> #include <linux/debugfs.h> #include <linux/platform_device.h> #include "vc4_drv.h" #include "vc4_regs.h" /* * Called at drm_dev_register() time on each of the minors registered * by the DRM device, to attach the debugfs files. */ void vc4_debugfs_init(struct drm_minor *minor) { … } static int vc4_debugfs_regset32(struct seq_file *m, void *unused) { … } void vc4_debugfs_add_regset32(struct drm_device *drm, const char *name, struct debugfs_regset32 *regset) { … }