xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/ga1xx.c (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
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 
11 const struct nvkm_rm_gpu
12 ga1xx_gpu = {
13 	.disp.class = {
14 		.root = GA102_DISP,
15 		.caps = GV100_DISP_CAPS,
16 		.core = GA102_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 = AMPERE_B,
34 		.compute = AMPERE_COMPUTE_B,
35 	},
36 	.nvdec.class = NVC7B0_VIDEO_DECODER,
37 	.nvenc.class = NVC7B7_VIDEO_ENCODER,
38 	.ofa.class = NVC7FA_VIDEO_OFA,
39 };
40