mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Like we did for tile-based attributes, introduce separate show() helper that implicitly takes an RPM reference prior to the call to the actual print() function. This translates into some savings. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20250919160430.573-3-michal.wajdeczko@intel.com
17 lines
350 B
C
17 lines
350 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GT_DEBUGFS_H_
|
|
#define _XE_GT_DEBUGFS_H_
|
|
|
|
struct seq_file;
|
|
struct xe_gt;
|
|
|
|
void xe_gt_debugfs_register(struct xe_gt *gt);
|
|
int xe_gt_debugfs_simple_show(struct seq_file *m, void *data);
|
|
int xe_gt_debugfs_show_with_rpm(struct seq_file *m, void *data);
|
|
|
|
#endif
|