mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
- Remove dce.h include from dce-pm.h to resolve circular dependency betweeen dce.h and dce-pm.h - This is an existing circular dependency but has floated up now due to some re-org in DCE-KMD code. JIRA TDS-16052 Change-Id: I046743cf70f344d87500e7f9d595f8cfe2379446 Signed-off-by: anupamg <anupamg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3192713 Reviewed-by: Mahesh Kumar <mahkumar@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Arun Swain <arswain@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
25 lines
711 B
C
25 lines
711 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
|
|
#ifndef DCE_PM_H
|
|
#define DCE_PM_H
|
|
|
|
struct tegra_dce;
|
|
|
|
struct dce_sc7_state {
|
|
uint32_t hsp_ie;
|
|
};
|
|
|
|
int dce_pm_init(struct tegra_dce *d);
|
|
void dce_pm_deinit(struct tegra_dce *d);
|
|
int dce_pm_enter_sc7(struct tegra_dce *d);
|
|
int dce_pm_exit_sc7(struct tegra_dce *d);
|
|
void dce_resume_work_fn(struct tegra_dce *d);
|
|
int dce_pm_handle_sc7_enter_requested_event(struct tegra_dce *d, void *params);
|
|
int dce_pm_handle_sc7_enter_received_event(struct tegra_dce *d, void *params);
|
|
int dce_pm_handle_sc7_exit_received_event(struct tegra_dce *d, void *params);
|
|
|
|
#endif
|