mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-19 13:50:48 +00:00

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>
21 lines
672 B
C
21 lines
672 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_CE_PRIV_H__
|
|
#define __NVKM_CE_PRIV_H__
|
|
#include <engine/ce.h>
|
|
|
|
int r535_ce_new(const struct nvkm_engine_func *, struct nvkm_device *,
|
|
enum nvkm_subdev_type, int, struct nvkm_engine **);
|
|
|
|
void gt215_ce_intr(struct nvkm_falcon *, struct nvkm_chan *);
|
|
void gk104_ce_intr(struct nvkm_engine *);
|
|
void gp100_ce_intr(struct nvkm_engine *);
|
|
|
|
extern const struct nvkm_object_func gv100_ce_cclass;
|
|
|
|
int ga100_ce_oneinit(struct nvkm_engine *);
|
|
int ga100_ce_init(struct nvkm_engine *);
|
|
int ga100_ce_fini(struct nvkm_engine *, bool);
|
|
int ga100_ce_nonstall(struct nvkm_engine *);
|
|
|
|
u32 gb202_ce_grce_mask(struct nvkm_device *);
|
|
#endif
|