mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-24 10:49:54 +02:00
e724d0261b
commit 1313351e71 upstream.
Move forcewake_get() into xe_gt_idle_enable_c6() to streamline the
code and make it easier to use.
Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Xin Wang <x.wang@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250827000633.1369890-2-x.wang@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
433 B
C
20 lines
433 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GT_IDLE_H_
|
|
#define _XE_GT_IDLE_H_
|
|
|
|
#include "xe_gt_idle_types.h"
|
|
|
|
struct xe_gt;
|
|
|
|
int xe_gt_idle_init(struct xe_gt_idle *gtidle);
|
|
void xe_gt_idle_enable_c6(struct xe_gt *gt);
|
|
int xe_gt_idle_disable_c6(struct xe_gt *gt);
|
|
void xe_gt_idle_enable_pg(struct xe_gt *gt);
|
|
void xe_gt_idle_disable_pg(struct xe_gt *gt);
|
|
|
|
#endif /* _XE_GT_IDLE_H_ */
|