mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-19 16:43:27 -04:00
drm/xe: Delete debugfs entry to issue TLB invalidation
Not used, let's remove this. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
a12d921674
commit
0335b53cc4
@@ -16,10 +16,6 @@
|
||||
#include "xe_macros.h"
|
||||
#include "xe_uc_debugfs.h"
|
||||
|
||||
#ifdef CONFIG_DRM_XE_DEBUG
|
||||
#include "xe_gt_tlb_invalidation.h"
|
||||
#endif
|
||||
|
||||
static struct xe_gt *node_to_gt(struct drm_info_node *node)
|
||||
{
|
||||
return node->info_ent->data;
|
||||
@@ -92,32 +88,12 @@ static int steering(struct seq_file *m, void *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DRM_XE_DEBUG
|
||||
static int invalidate_tlb(struct seq_file *m, void *data)
|
||||
{
|
||||
struct xe_gt *gt = node_to_gt(m->private);
|
||||
int seqno;
|
||||
int ret = 0;
|
||||
|
||||
seqno = xe_gt_tlb_invalidation(gt, NULL);
|
||||
XE_WARN_ON(seqno < 0);
|
||||
if (seqno > 0)
|
||||
ret = xe_gt_tlb_invalidation_wait(gt, seqno);
|
||||
XE_WARN_ON(ret < 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static const struct drm_info_list debugfs_list[] = {
|
||||
{"hw_engines", hw_engines, 0},
|
||||
{"force_reset", force_reset, 0},
|
||||
{"sa_info", sa_info, 0},
|
||||
{"topology", topology, 0},
|
||||
{"steering", steering, 0},
|
||||
#ifdef CONFIG_DRM_XE_DEBUG
|
||||
{"invalidate_tlb", invalidate_tlb, 0},
|
||||
#endif
|
||||
};
|
||||
|
||||
void xe_gt_debugfs_register(struct xe_gt *gt)
|
||||
|
||||
Reference in New Issue
Block a user