File Index
Files and directories
Sign in
FILE

ad10x.c

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/ad10x.c C
 1/* SPDX-License-Identifier: MIT
 2 *
 3 * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
 4 */
 5#include "gpu.h"
 6
 7#include <engine/fifo/priv.h>
 8
 9#include <nvif/class.h>
10
11const struct nvkm_rm_gpu
12ad10x_gpu = {
13	.disp.class = {
14		.root = AD102_DISP,
15		.caps = GV100_DISP_CAPS,
16		.core = AD102_DISP_CORE_CHANNEL_DMA,
17		.wndw = GA102_DISP_WINDOW_CHANNEL_DMA,
18		.wimm = GA102_DISP_WINDOW_IMM_CHANNEL_DMA,
19		.curs = GA102_DISP_CURSOR,
20	},
21
22	.usermode.class = AMPERE_USERMODE_A,
23
24	.fifo.chan = {
25		.class = AMPERE_CHANNEL_GPFIFO_A,
26		.doorbell_handle = tu102_chan_doorbell_handle,
27	},
28
29	.ce.class = AMPERE_DMA_COPY_B,
30	.gr.class = {
31		.i2m = KEPLER_INLINE_TO_MEMORY_B,
32		.twod = FERMI_TWOD_A,
33		.threed = ADA_A,
34		.compute = ADA_COMPUTE_A,
35	},
36	.nvdec.class = NVC9B0_VIDEO_DECODER,
37	.nvenc.class = NVC9B7_VIDEO_ENCODER,
38	.ofa.class = NVC9FA_VIDEO_OFA,
39};
~/ Read-only file preview.