mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
- This change will remove linux nuances from dce-client-ipc.c
file and make it a core DCE-KMD file agnostic to OS.
- To do that, dce-client-ipc module will repalce linux specific
nuances for work queue related functionality with
dce-os-work module.
- Further to support existing dce_client_ipc asyn callback function
we need to make worker queue more generic by allowing clients
to pass any data of their choice as data param to the
callback function.
- Also take this opportunity to make following functions static:
- dce_resume_work_fn()
- dce_bootstrap_work_fn()
JIRA TDS-16581
Change-Id: I741b8675dd67ef932ee462e16cad016cbe8b7e2c
Signed-off-by: anupamg <anupamg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3257808
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Arun Swain <arswain@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
24 lines
665 B
C
24 lines
665 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 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);
|
|
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
|