mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
drm/i915: Fix format for perf_limit_reasons
Use hex format so that it is easier to decode. Fixes:fe5979665f
("drm/i915/debugfs: Add perf_limit_reasons in debugfs") Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230315022906.2467408-1-vinay.belgaumkar@intel.com (cherry picked from commit5e008ba67c
) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
150784f928
commit
f8d62aa8d2
@ -580,7 +580,7 @@ static bool perf_limit_reasons_eval(void *data)
|
||||
}
|
||||
|
||||
DEFINE_SIMPLE_ATTRIBUTE(perf_limit_reasons_fops, perf_limit_reasons_get,
|
||||
perf_limit_reasons_clear, "%llu\n");
|
||||
perf_limit_reasons_clear, "0x%llx\n");
|
||||
|
||||
void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user