linux/drivers/gpu/drm/msm/msm_debugfs.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2013-2016 Red Hat
 * Author: Rob Clark <[email protected]>
 */

#ifdef CONFIG_DEBUG_FS

#include <linux/debugfs.h>
#include <linux/fault-inject.h>

#include <drm/drm_debugfs.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_file.h>
#include <drm/drm_framebuffer.h>

#include "msm_drv.h"
#include "msm_gpu.h"
#include "msm_kms.h"
#include "msm_debugfs.h"
#include "disp/msm_disp_snapshot.h"

/*
 * GPU Snapshot:
 */

struct msm_gpu_show_priv {};

static int msm_gpu_show(struct seq_file *m, void *arg)
{}

static int msm_gpu_release(struct inode *inode, struct file *file)
{}

static int msm_gpu_open(struct inode *inode, struct file *file)
{}

static const struct file_operations msm_gpu_fops =;

/*
 * Display Snapshot:
 */

static int msm_kms_show(struct seq_file *m, void *arg)
{}

static int msm_kms_release(struct inode *inode, struct file *file)
{}

static int msm_kms_open(struct inode *inode, struct file *file)
{}

static const struct file_operations msm_kms_fops =;

/*
 * Other debugfs:
 */

static unsigned long last_shrink_freed;

static int
shrink_get(void *data, u64 *val)
{}

static int
shrink_set(void *data, u64 val)
{}

DEFINE_DEBUGFS_ATTRIBUTE();


static int msm_gem_show(struct seq_file *m, void *arg)
{}

static int msm_mm_show(struct seq_file *m, void *arg)
{}

static int msm_fb_show(struct seq_file *m, void *arg)
{}

static struct drm_info_list msm_debugfs_list[] =;

static struct drm_info_list msm_kms_debugfs_list[] =;

static int late_init_minor(struct drm_minor *minor)
{}

int msm_debugfs_late_init(struct drm_device *dev)
{}

static void msm_debugfs_gpu_init(struct drm_minor *minor)
{}

void msm_debugfs_init(struct drm_minor *minor)
{}
#endif