Skip to content

Commit f8d62aa

Browse files
vsbelgaumjnikula
authored andcommitted
drm/i915: Fix format for perf_limit_reasons
Use hex format so that it is easier to decode. Fixes: fe59796 ("drm/i915/debugfs: Add perf_limit_reasons in debugfs") Signed-off-by: Vinay Belgaumkar <[email protected]> Reviewed-by: Ashutosh Dixit <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 5e008ba) Signed-off-by: Jani Nikula <[email protected]>
1 parent 150784f commit f8d62aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ static bool perf_limit_reasons_eval(void *data)
580580
}
581581

582582
DEFINE_SIMPLE_ATTRIBUTE(perf_limit_reasons_fops, perf_limit_reasons_get,
583-
perf_limit_reasons_clear, "%llu\n");
583+
perf_limit_reasons_clear, "0x%llx\n");
584584

585585
void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root)
586586
{

0 commit comments

Comments
 (0)