aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/engine/sec2.h
blob: 06264c840eae6a55ca7063d40fcbef3b66a2bf28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_SEC2_H__
#define __NVKM_SEC2_H__
#define nvkm_sec2(p) container_of((p), struct nvkm_sec2, engine)
#include <core/engine.h>
#include <core/falcon.h>

struct nvkm_sec2 {
	const struct nvkm_sec2_func *func;
	struct nvkm_engine engine;
	struct nvkm_falcon falcon;

	struct nvkm_falcon_qmgr *qmgr;
	struct nvkm_falcon_cmdq *cmdq;
	struct nvkm_falcon_msgq *msgq;

	struct work_struct work;
	bool initmsg_received;
};

int gp102_sec2_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sec2 **);
int gp108_sec2_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sec2 **);
int tu102_sec2_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_sec2 **);
#endif
peed grades on AM62Px SoCJudith Mendez1-0/+4 2025-08-20cpufreq: ti: Add support for AM62D2Paresh Bhagat1-0/+2 2025-08-20cpufreq: dt-platdev: Blacklist ti,am62d2 SoCParesh Bhagat1-0/+1 2025-08-20rust: opp: update ARef and AlwaysRefCounted imports from sync::arefShankari Anand1-6/+7 2025-08-20cpufreq: mediatek-hw: don't use error path on NULL fdvfsNicolas Frattaroli1-1/+1 2025-08-19cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus()Florian Fainelli1-0/+10 2025-08-14rust: cpumask: Mark CpumaskVar as transparentBaptiste Lepers1-0/+1 2025-08-14rust: cpumask: rename CpumaskVar::as[_mut]_ref to from_raw[_mut]Alice Ryhl2-3/+3 2025-08-12dt-bindings: cpufreq: cpufreq-qcom-hw: Add QCS615 compatibleTaniya Das1-0/+2 2025-08-12MAINTAINERS: Add myself as virtual-cpufreq maintainerSaravana Kannan1-0/+6 2025-08-11cpufreq: qcom-nvmem: Enable cpufreq for ipq5424Md Sadre Alam2-0/+6 2025-08-11cpufreq: Remove unused parameter in cppc_perf_from_fbctrs()BowenYu1-8/+4 2025-08-11cpufreq: armada-37xx: use max() to calculate target_vmAkhilesh Patil1-2/+2 2025-08-11cpufreq: airoha: Add support for AN7583 SoCChristian Marangi2-0/+2 2025-08-11cpufreq: mediatek-hw: Add support for MT8196Nicolas Frattaroli1-2/+68 2025-08-11cpufreq: mediatek-hw: Separate per-domain and per-instance dataNicolas Frattaroli1-15/+27 2025-08-11cpufreq: mediatek-hw: Refactor match data into structNicolas Frattaroli1-10/+18