File Index
Files and directories
Sign in
FILE

engine.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.h C
 1/* SPDX-License-Identifier: MIT
 2 *
 3 * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
 4 */
 5#ifndef __NVKM_RM_ENGINE_H__
 6#define __NVKM_RM_ENGINE_H__
 7#include "gpu.h"
 8
 9int nvkm_rm_engine_ctor(void *(*dtor)(struct nvkm_engine *), struct nvkm_rm *,
10			enum nvkm_subdev_type type, int inst,
11			const u32 *class, int nclass, struct nvkm_engine *);
12int nvkm_rm_engine_new(struct nvkm_rm *, enum nvkm_subdev_type, int inst);
13
14int nvkm_rm_engine_obj_new(struct nvkm_gsp_object *chan, int chid, const struct nvkm_oclass *,
15			   struct nvkm_object **);
16
17int nvkm_rm_gr_new(struct nvkm_rm *);
18int nvkm_rm_nvdec_new(struct nvkm_rm *, int inst);
19int nvkm_rm_nvenc_new(struct nvkm_rm *, int inst);
20#endif
~/ Read-only file preview.