Skip to content

nvc0: support for GK20A (Tegra K1)

Alexandre Courbot linux-tegra nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesIn review

Changes in v2 from the cover letter

- Update TargetNVC0::getFileSize() to return the right number of GPR
- Remove definition for unneeded NVISA_GK110_CHIPSET
- Use consistent comparison scheme in nv50_ir_emit_nvc0.cpp

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvc0: add GK20A 3D classsrc/gallium/drivers/nouveau/nv_object.xml.h src/gallium/drivers/nouveau/nvc0/nvc0_screen.c+9 -13 replies
1/2nvc0: add GK20A 3D classsrc/gallium/drivers/nouveau/nv_object.xml.h src/gallium/drivers/nouveau/nvc0/nvc0_screen.c+9 -10 replies
2/2nvc0: use SM35 ISA with GK20Asrc/gallium/drivers/nouveau/codegen/nv50_ir_driver.h src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp+11 -52 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchIlia Mirkin
1/2R-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] nvc0: support for GK20A (Tegra K1)

The following 2 patches make it possible to run Mesa programs on GK20A (Tegra K1).

GK20A is very similar to GK104, but uses a new (backward-compatible) 3D class as well as the same ISA as GK110 (SM35). Taking these differences into account is sufficient to successfully render simple off-screen buffers.

Changes since v1:
- Update TargetNVC0::getFileSize() to return the right number of GPR
- Remove definition for unneeded NVISA_GK110_CHIPSET
- Use consistent comparison scheme in nv50_ir_emit_nvc0.cpp

Alexandre Courbot (2):
nvc0: add GK20A 3D class
nvc0: use SM35 ISA with GK20A

 src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h      |  2 +-
 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp |  2 +-
 .../drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp       | 15 ++++++++++-----
 src/gallium/drivers/nouveau/nv_object.xml.h               |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c            |  9 ++++++++-
 5 files changed, 21 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.3