Skip to content

Commit

Permalink
drm/xe: Rename xe_gt_idle_sysfs to xe_gt_idle
Browse files Browse the repository at this point in the history
Prep this file to contain C6 toggling as well instead
of just sysfs related stuff.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
  • Loading branch information
Vinay Belgaumkar authored and Rodrigo Vivi committed Dec 21, 2023
1 parent 8cdcef1 commit c550f64
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_gt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
File renamed without changes.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/xe/xe_gt_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c550f64

Please sign in to comment.