Skip to content

Commit 0335b53

Browse files
mbrost05rodrigovivi
authored andcommitted
drm/xe: Delete debugfs entry to issue TLB invalidation
Not used, let's remove this. Signed-off-by: Matthew Brost <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Reviewed-by: Niranjana Vishwanathapura <[email protected]>
1 parent a12d921 commit 0335b53

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

drivers/gpu/drm/xe/xe_gt_debugfs.c

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
#include "xe_macros.h"
1717
#include "xe_uc_debugfs.h"
1818

19-
#ifdef CONFIG_DRM_XE_DEBUG
20-
#include "xe_gt_tlb_invalidation.h"
21-
#endif
22-
2319
static struct xe_gt *node_to_gt(struct drm_info_node *node)
2420
{
2521
return node->info_ent->data;
@@ -92,32 +88,12 @@ static int steering(struct seq_file *m, void *data)
9288
return 0;
9389
}
9490

95-
#ifdef CONFIG_DRM_XE_DEBUG
96-
static int invalidate_tlb(struct seq_file *m, void *data)
97-
{
98-
struct xe_gt *gt = node_to_gt(m->private);
99-
int seqno;
100-
int ret = 0;
101-
102-
seqno = xe_gt_tlb_invalidation(gt, NULL);
103-
XE_WARN_ON(seqno < 0);
104-
if (seqno > 0)
105-
ret = xe_gt_tlb_invalidation_wait(gt, seqno);
106-
XE_WARN_ON(ret < 0);
107-
108-
return 0;
109-
}
110-
#endif
111-
11291
static const struct drm_info_list debugfs_list[] = {
11392
{"hw_engines", hw_engines, 0},
11493
{"force_reset", force_reset, 0},
11594
{"sa_info", sa_info, 0},
11695
{"topology", topology, 0},
11796
{"steering", steering, 0},
118-
#ifdef CONFIG_DRM_XE_DEBUG
119-
{"invalidate_tlb", invalidate_tlb, 0},
120-
#endif
12197
};
12298

12399
void xe_gt_debugfs_register(struct xe_gt *gt)

0 commit comments

Comments
 (0)