exa: add GM10x acceleration support

Graphics / X.Org / xf86-video-nouveau - Ilia Mirkin [alum.mit.edu] - 27 October 2016 19:33 UTC

rendercheck -f a8r8g8b8 passes as much as on a GK208, and xv appears to work. Very lightly tested.

Instead of sticking coordinates into pushbufs, the vertex shader is modified to read them from a constbuf, indexed by vertex id. This approach could be used for all nvc0 generations, but I didn't want to rock the boat.

a24ded6 exa: add GM10x acceleration support
src/Makefile.am | 16 +++++++
src/nouveau_copy.c | 1 +
src/nouveau_exa.c | 2 +-
src/nouveau_xv.c | 2 +-
src/nv_accel_common.c | 1 +
src/nv_driver.c | 1 +
src/nvc0_accel.c | 37 +++++++++++++---
src/nvc0_exa.c | 48 +++++++++++++++++++--
src/nvc0_xv.c | 48 +++++++++++++++++++--
src/shader/Makefile | 23 +++++++---
src/shader/exac8nv110.fp | 47 +++++++++++++++++++++
src/shader/exac8nv110.fpc | 38 +++++++++++++++++
src/shader/exacanv110.fp | 47 +++++++++++++++++++++
src/shader/exacanv110.fpc | 38 +++++++++++++++++
src/shader/exacmnv110.fp | 47 +++++++++++++++++++++
src/shader/exacmnv110.fpc | 38 +++++++++++++++++
src/shader/exas8nv110.fp | 42 +++++++++++++++++++
src/shader/exas8nv110.fpc | 28 +++++++++++++
src/shader/exasanv110.fp | 47 +++++++++++++++++++++
src/shader/exasanv110.fpc | 38 +++++++++++++++++
src/shader/exascnv110.fp | 38 +++++++++++++++++
src/shader/exascnv110.fpc | 20 +++++++++
src/shader/videonv110.fp | 54 ++++++++++++++++++++++++
src/shader/videonv110.fpc | 52 +++++++++++++++++++++++
src/shader/xfrm2nv110.vp | 82 ++++++++++++++++++++++++++++++++++++
src/shader/xfrm2nv110.vpc | 102 +++++++++++++++++++++++++++++++++++++++++++++
26 files changed, 918 insertions(+), 19 deletions(-)

Upstream: cgit.freedesktop.org


  • Share