]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nouveau/graph: add GK20A support
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 2 May 2014 09:32:41 +0000 (18:32 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:05:50 +0000 (16:05 +1000)
commita4d4bbf130724c9a9a3dff673eb9342f1dbe2392
tree9d5307dbb00385da3c30742b7e4cf40b28b8dbe7
parent370eec76b67430f6055ebda07c820f02288d93b8
drm/nouveau/graph: add GK20A support

Add a GR device for GK20A based on NVE4, with the correct classes
definitions (GK20A's 3D class is 0xa297).

Most of the NVE4 code can be used on GK20A, so make relevant bits of
NVE4 available to other chips as well.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/engine/graph/ctxgk20a.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve4.c
drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
drivers/gpu/drm/nouveau/core/engine/graph/nve4.c
drivers/gpu/drm/nouveau/core/include/engine/graph.h