mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
Our debugfs helper xe_gt_debugfs_show_with_rpm() expects print() functions to return int. New signature allows us to drop wrapper. While around, print additional separation lines using puts() to avoid output with leading \n which might confuse some printers. 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/20250923211613.193347-4-michal.wajdeczko@intel.com
20 lines
442 B
C
20 lines
442 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_TUNING_
|
|
#define _XE_TUNING_
|
|
|
|
struct drm_printer;
|
|
struct xe_gt;
|
|
struct xe_hw_engine;
|
|
|
|
int xe_tuning_init(struct xe_gt *gt);
|
|
void xe_tuning_process_gt(struct xe_gt *gt);
|
|
void xe_tuning_process_engine(struct xe_hw_engine *hwe);
|
|
void xe_tuning_process_lrc(struct xe_hw_engine *hwe);
|
|
int xe_tuning_dump(struct xe_gt *gt, struct drm_printer *p);
|
|
|
|
#endif
|