Commit c550f64f authored by Vinay Belgaumkar's avatar Vinay Belgaumkar Committed by Rodrigo Vivi
Browse files

drm/xe: Rename xe_gt_idle_sysfs to xe_gt_idle



Prep this file to contain C6 toggling as well instead
of just sysfs related stuff.

Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarVinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 8cdcef1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ xe-y += xe_bb.o \
	xe_gt.o \
	xe_gt_clock.o \
	xe_gt_debugfs.o \
	xe_gt_idle_sysfs.o \
	xe_gt_idle.o \
	xe_gt_mcr.o \
	xe_gt_pagefault.o \
	xe_gt_sysfs.o \
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#include "xe_ggtt.h"
#include "xe_gsc.h"
#include "xe_gt_clock.h"
#include "xe_gt_idle_sysfs.h"
#include "xe_gt_idle.h"
#include "xe_gt_mcr.h"
#include "xe_gt_pagefault.h"
#include "xe_gt_printk.h"
+2 −2
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@

#include "xe_device.h"
#include "xe_gt.h"
#include "xe_gt_idle_sysfs.h"
#include "xe_gt_idle.h"
#include "xe_gt_sysfs.h"
#include "xe_guc_pc.h"

/**
 * DOC: Xe GT Idle
 *
 * Provides sysfs entries for idle properties of GT
 * Contains functions that init GT idle features like C6
 *
 * device/gt#/gtidle/name - name of the state
 * device/gt#/gtidle/idle_residency_ms - Provides residency of the idle state in ms
+4 −4
Original line number Diff line number Diff line
@@ -3,11 +3,11 @@
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_GT_IDLE_SYSFS_H_
#define _XE_GT_IDLE_SYSFS_H_
#ifndef _XE_GT_IDLE_H_
#define _XE_GT_IDLE_H_

#include "xe_gt_idle_sysfs_types.h"
#include "xe_gt_idle_types.h"

void xe_gt_idle_sysfs_init(struct xe_gt_idle *gtidle);

#endif /* _XE_GT_IDLE_SYSFS_H_ */
#endif /* _XE_GT_IDLE_H_ */
Loading