[Nouveau] [PATCH 2/2] gr: add FERMI_COMPUTE_B class to GF110+
Ilia Mirkin
imirkin at alum.mit.edu
Wed Oct 7 15:39:33 PDT 2015
GF110+ supports both the A and B compute classes, make sure to accept
both.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
drm/nouveau/nvkm/engine/gr/gf110.c | 1 +
drm/nouveau/nvkm/engine/gr/gf117.c | 1 +
drm/nouveau/nvkm/engine/gr/gf119.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/drm/nouveau/nvkm/engine/gr/gf110.c b/drm/nouveau/nvkm/engine/gr/gf110.c
index d131874..d081ee4 100644
--- a/drm/nouveau/nvkm/engine/gr/gf110.c
+++ b/drm/nouveau/nvkm/engine/gr/gf110.c
@@ -98,6 +98,7 @@ gf110_gr = {
{ -1, -1, FERMI_B, &gf100_fermi },
{ -1, -1, FERMI_C, &gf100_fermi },
{ -1, -1, FERMI_COMPUTE_A },
+ { -1, -1, FERMI_COMPUTE_B },
{}
}
};
diff --git a/drm/nouveau/nvkm/engine/gr/gf117.c b/drm/nouveau/nvkm/engine/gr/gf117.c
index 28483d8..d8e8af4 100644
--- a/drm/nouveau/nvkm/engine/gr/gf117.c
+++ b/drm/nouveau/nvkm/engine/gr/gf117.c
@@ -135,6 +135,7 @@ gf117_gr = {
{ -1, -1, FERMI_B, &gf100_fermi },
{ -1, -1, FERMI_C, &gf100_fermi },
{ -1, -1, FERMI_COMPUTE_A },
+ { -1, -1, FERMI_COMPUTE_B },
{}
}
};
diff --git a/drm/nouveau/nvkm/engine/gr/gf119.c b/drm/nouveau/nvkm/engine/gr/gf119.c
index 9811a72..01faf9a 100644
--- a/drm/nouveau/nvkm/engine/gr/gf119.c
+++ b/drm/nouveau/nvkm/engine/gr/gf119.c
@@ -189,6 +189,7 @@ gf119_gr = {
{ -1, -1, FERMI_B, &gf100_fermi },
{ -1, -1, FERMI_C, &gf100_fermi },
{ -1, -1, FERMI_COMPUTE_A },
+ { -1, -1, FERMI_COMPUTE_B },
{}
}
};
--
2.4.9
More information about the Nouveau
mailing list