summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/include/nvkm/subdev
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2022-06-01 13:46:53 +0300
committerBen Skeggs <bskeggs@redhat.com>2022-11-09 03:44:36 +0300
commit58c3d3c837297051479d552753f04e4561453403 (patch)
tree9350fac080fc39744fd064886bc8c8677eb259bf /drivers/gpu/drm/nouveau/include/nvkm/subdev
parentf83d1c3114182a0d826c929912e5ae94b7aeebc6 (diff)
downloadlinux-58c3d3c837297051479d552753f04e4561453403.tar.xz
drm/nouveau/vfn: move NV_USERMODE class from host
- uses proper class IDs for Turing/Ampere Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h
index 85c1bd36ee50..fb04d5cd34bf 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h
@@ -9,7 +9,10 @@ struct nvkm_vfn {
struct {
u32 priv;
+ u32 user;
} addr;
+
+ struct nvkm_device_oclass user;
};
int gv100_vfn_new(struct nvkm_device *, enum nvkm_subdev_type, int, struct nvkm_vfn **);