linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gb202.c
Ben Skeggs 284ad706ad drm/nouveau: add support for GB20x
This commit adds support for the GB20x GPUs found on GeForce RTX 50xx
series boards.

Beyond a few miscellaneous register moves and HW class ID plumbing,
this reuses most of the code added to support GH100/GB10x.

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>
2025-05-19 07:14:45 +10:00

14 lines
294 B
C

/* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
*/
#include "priv.h"
#include "cgrp.h"
#include "chan.h"
#include "runl.h"
u32
gb202_chan_doorbell_handle(struct nvkm_chan *chan)
{
return BIT(30) | (chan->cgrp->runl->id << 16) | chan->id;
}