[Mesa-dev] [PATCH v2 0/2] nvc0: support for GK20A (Tegra K1)

Alexandre Courbot acourbot at nvidia.com
Tue May 27 00:03:00 PDT 2014


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(-)

-- 
1.9.3



More information about the mesa-dev mailing list