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

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
......@@ -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 \
......
......@@ -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"
......
......@@ -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
......
......@@ -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_ */
......@@ -7,7 +7,7 @@
#define _XE_GT_TYPES_H_
#include "xe_force_wake_types.h"
#include "xe_gt_idle_sysfs_types.h"
#include "xe_gt_idle_types.h"
#include "xe_hw_engine_types.h"
#include "xe_hw_fence_types.h"
#include "xe_reg_sr_types.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment