]> Git Repo - linux.git/blob - drivers/gpu/drm/panfrost/panfrost_debugfs.c
Merge tag 'input-for-v6.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor...
[linux.git] / drivers / gpu / drm / panfrost / panfrost_debugfs.c
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright 2023 Collabora ltd. */
3 /* Copyright 2023 Amazon.com, Inc. or its affiliates. */
4
5 #include <linux/debugfs.h>
6 #include <linux/platform_device.h>
7 #include <drm/drm_debugfs.h>
8 #include <drm/drm_file.h>
9 #include <drm/panfrost_drm.h>
10
11 #include "panfrost_device.h"
12 #include "panfrost_gpu.h"
13 #include "panfrost_debugfs.h"
14
15 void panfrost_debugfs_init(struct drm_minor *minor)
16 {
17         struct drm_device *dev = minor->dev;
18         struct panfrost_device *pfdev = platform_get_drvdata(to_platform_device(dev->dev));
19
20         debugfs_create_atomic_t("profile", 0600, minor->debugfs_root, &pfdev->profile_mode);
21 }
This page took 0.033266 seconds and 4 git commands to generate.