Skip to content

Commit

Permalink
fixup! drm/v3d: New debugfs end-points to query GPU usage stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Sep 27, 2023
1 parent d99764d commit bb0be2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/gpu/drm/v3d/v3d_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ static int v3d_debugfs_bo_stats(struct seq_file *m, void *unused)

static int v3d_debugfs_gpu_usage(struct seq_file *m, void *unused)
{
struct drm_info_node *node = (struct drm_info_node *)m->private;
struct drm_device *dev = node->minor->dev;
struct drm_debugfs_entry *entry = m->private;
struct drm_device *dev = entry->dev;
struct v3d_dev *v3d = to_v3d_dev(dev);
struct v3d_queue_stats *queue_stats;
enum v3d_queue queue;
Expand Down Expand Up @@ -240,8 +240,8 @@ static int v3d_debugfs_gpu_usage(struct seq_file *m, void *unused)

static int v3d_debugfs_gpu_pid_usage(struct seq_file *m, void *unused)
{
struct drm_info_node *node = (struct drm_info_node *)m->private;
struct drm_device *dev = node->minor->dev;
struct drm_debugfs_entry *entry = m->private;
struct drm_device *dev = entry->dev;
struct v3d_dev *v3d = to_v3d_dev(dev);
struct v3d_queue_stats *queue_stats;
struct v3d_queue_pid_stats *cur;
Expand Down

0 comments on commit bb0be2e

Please sign in to comment.