mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
The doorbell register on GB20x GPUs has additional fields. Signed-off-by: Ben Skeggs <bskeggs@nvidia.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Timur Tabi <ttabi@nvidia.com> Tested-by: Timur Tabi <ttabi@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
31 lines
634 B
C
31 lines
634 B
C
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
|
|
*/
|
|
#include "gpu.h"
|
|
|
|
#include <engine/fifo/priv.h>
|
|
|
|
#include <nvif/class.h>
|
|
|
|
const struct nvkm_rm_gpu
|
|
gh100_gpu = {
|
|
.usermode.class = HOPPER_USERMODE_A,
|
|
|
|
.fifo.chan = {
|
|
.class = HOPPER_CHANNEL_GPFIFO_A,
|
|
.doorbell_handle = tu102_chan_doorbell_handle,
|
|
},
|
|
|
|
.ce.class = HOPPER_DMA_COPY_A,
|
|
.gr.class = {
|
|
.i2m = KEPLER_INLINE_TO_MEMORY_B,
|
|
.twod = FERMI_TWOD_A,
|
|
.threed = HOPPER_A,
|
|
.compute = HOPPER_COMPUTE_A,
|
|
},
|
|
.nvdec.class = NVB8B0_VIDEO_DECODER,
|
|
.nvjpg.class = NVB8D1_VIDEO_NVJPG,
|
|
.ofa.class = NVB8FA_VIDEO_OFA,
|
|
};
|