drm/nouveau/fb/gp102-ga100: switch to simpler vram size detection method
Also exposes this for use by upcoming GSP-RM initialisation code. v2: add SPDX header Signed-off-by:Ben Skeggs <bskeggs@redhat.com> Reviewed-by:
Lyude Paul <lyude@redhat.com> Signed-off-by:
Karol Herbst <kherbst@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230525003106.3853741-3-skeggsb@gmail.com
Showing
- drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 12 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.c 2 additions, 1 deletiondrivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c 16 additions, 1 deletiondrivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c 2 additions, 1 deletiondrivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h 5 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c 30 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.c 2 additions, 1 deletiondrivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.c
Please register or sign in to comment