Skip to content

Commit

Permalink
Revert "drm/vc4: Add a debugfs node for tracking execution state."
Browse files Browse the repository at this point in the history
This reverts commit c6f3d62.
  • Loading branch information
popcornmix committed Dec 6, 2016
1 parent 8a4f431 commit 36015c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/vc4/vc4_debugfs.c
Expand Up @@ -18,7 +18,6 @@
static const struct drm_info_list vc4_debugfs_list[] = {
{"bo_stats", vc4_bo_stats_debugfs, 0},
{"dpi_regs", vc4_dpi_debugfs_regs, 0},
{"gem_exec", vc4_gem_exec_debugfs, 0},
{"hdmi_regs", vc4_hdmi_debugfs_regs, 0},
{"hvs_regs", vc4_hvs_debugfs_regs, 0},
{"crtc0_regs", vc4_crtc_debugfs_regs, 0, (void *)(uintptr_t)0},
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/vc4/vc4_drv.h
Expand Up @@ -481,7 +481,6 @@ void vc4_job_handle_completed(struct vc4_dev *vc4);
int vc4_queue_seqno_cb(struct drm_device *dev,
struct vc4_seqno_cb *cb, uint64_t seqno,
void (*func)(struct vc4_seqno_cb *cb));
int vc4_gem_exec_debugfs(struct seq_file *m, void *arg);

/* vc4_hdmi.c */
extern struct platform_driver vc4_hdmi_driver;
Expand Down
14 changes: 0 additions & 14 deletions drivers/gpu/drm/vc4/vc4_gem.c
Expand Up @@ -32,20 +32,6 @@
#include "vc4_regs.h"
#include "vc4_trace.h"

#ifdef CONFIG_DEBUG_FS
int vc4_gem_exec_debugfs(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 vc4_dev *vc4 = to_vc4_dev(dev);

seq_printf(m, "Emitted seqno: 0x%016llx\n", vc4->emit_seqno);
seq_printf(m, "Finished seqno: 0x%016llx\n", vc4->finished_seqno);

return 0;
}
#endif /* CONFIG_DEBUG_FS */

static void
vc4_queue_hangcheck(struct drm_device *dev)
{
Expand Down

0 comments on commit 36015c2

Please sign in to comment.