32#ifndef _DRM_DEBUGFS_H_
33#define _DRM_DEBUGFS_H_
51#define DRM_DEBUGFS_GPUVA_INFO(show, data) {"gpuvas", show, DRIVER_GEM_GPUVA, data}
141#if defined(CONFIG_DEBUG_FS)
142void drm_debugfs_create_files(
const struct drm_info_list *files,
143 int count,
struct dentry *
root,
145int drm_debugfs_remove_files(
const struct drm_info_list *files,
int count,
154int drm_debugfs_gpuva_info(
struct seq_file *m,
160static inline void drm_debugfs_create_files(
const struct drm_info_list *files,
161 int count,
struct dentry *
root,
165static inline int drm_debugfs_remove_files(
const struct drm_info_list *files,
166 int count,
struct dentry *
root,
173 int (*show)(
struct seq_file*,
void*),
177static inline void drm_debugfs_add_files(
struct drm_device *
dev,
182static inline int drm_debugfs_gpuva_info(
struct seq_file *m,
188static inline void drm_debugfs_clients_add(
struct drm_file *
file)
192static inline void drm_debugfs_clients_remove(
struct drm_file *
file)
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242
const struct device * dev
Definition drm_print.h:519
void * data
Definition kthread.h:30
uint32_t u32
Definition kernel.h:16
Definition drm_debugfs.h:130
struct drm_device * dev
Definition drm_debugfs.h:132
struct list_head list
Definition drm_debugfs.h:138
Definition drm_debugfs.h:104
int(* show)(struct seq_file *, void *)
Definition drm_debugfs.h:115
u32 driver_features
Definition drm_debugfs.h:118
void * data
Definition drm_debugfs.h:121
const char * name
Definition drm_debugfs.h:106
Definition drm_device.h:75
Definition drm_file.h:165
Definition drm_gpuvm.h:229
Definition drm_debugfs.h:59
int(* show)(struct seq_file *, void *)
Definition drm_debugfs.h:69
const char * name
Definition drm_debugfs.h:61
u32 driver_features
Definition drm_debugfs.h:71
void * data
Definition drm_debugfs.h:73
Definition drm_debugfs.h:88
const struct drm_info_list * info_ent
Definition drm_debugfs.h:92
struct dentry * dent
Definition drm_debugfs.h:95
struct list_head list
Definition drm_debugfs.h:94
struct drm_minor * minor
Definition drm_debugfs.h:90
TTY * root
Definition tty.cpp:47