Mesa (master): nvc0: add initial support for nve4+ (Kepler) chipsets

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Apr 14 22:16:35 UTC 2012


Module: Mesa
Branch: master
Commit: e44089b2f79aa2dcaacf348911433d1e21235c0c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e44089b2f79aa2dcaacf348911433d1e21235c0c

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 23:56:56 2012 +0200

nvc0: add initial support for nve4+ (Kepler) chipsets

Most things that work on Fermi should work on Kepler too.

There are a few performance optimizations left to do, like better
placement of texture barriers and adding scheduling data to the
shader instructions (without them, a thread group will be masked
for 32 cycles after each single instruction issue).

---

 src/gallium/drivers/nouveau/nouveau_screen.h       |    2 +
 src/gallium/drivers/nouveau/nv_object.xml.h        |    3 +
 src/gallium/drivers/nv50/codegen/nv50_ir.h         |    2 +
 src/gallium/drivers/nv50/codegen/nv50_ir_driver.h  |    2 +
 .../drivers/nv50/codegen/nv50_ir_from_tgsi.cpp     |    6 +-
 src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h |    1 +
 src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp |    1 +
 .../drivers/nv50/codegen/nv50_ir_target.cpp        |    3 +-
 src/gallium/drivers/nv50/nv50_screen.c             |    1 +
 src/gallium/drivers/nv50/nv50_state.c              |    7 +
 src/gallium/drivers/nv50/nv50_texture.xml.h        |   12 +-
 .../drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp     |   12 ++
 .../drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp |   74 ++++++++-
 .../drivers/nvc0/codegen/nv50_ir_target_nvc0.cpp   |   49 +++---
 src/gallium/drivers/nvc0/nvc0_3d.xml.h             |   13 ++
 src/gallium/drivers/nvc0/nvc0_context.c            |    8 +-
 src/gallium/drivers/nvc0/nvc0_context.h            |   25 ++-
 src/gallium/drivers/nvc0/nvc0_program.c            |   61 +++++--
 src/gallium/drivers/nvc0/nvc0_screen.c             |  174 +++++++++++++------
 src/gallium/drivers/nvc0/nvc0_screen.h             |    8 +-
 src/gallium/drivers/nvc0/nvc0_shader_state.c       |    3 +-
 src/gallium/drivers/nvc0/nvc0_state_validate.c     |   38 +++--
 src/gallium/drivers/nvc0/nvc0_surface.c            |    2 +-
 src/gallium/drivers/nvc0/nvc0_tex.c                |  165 ++++++++++++++++++-
 src/gallium/drivers/nvc0/nvc0_transfer.c           |  159 +++++++++++++++++-
 src/gallium/drivers/nvc0/nvc0_winsys.h             |   19 ++-
 src/gallium/drivers/nvc0/nve4_p2mf.xml.h           |  107 ++++++++++++
 .../winsys/nouveau/drm/nouveau_drm_winsys.c        |    1 +
 28 files changed, 799 insertions(+), 159 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=e44089b2f79aa2dcaacf348911433d1e21235c0c



More information about the mesa-commit mailing list