]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/nouveau/gr/nv3x: add 0x0597 kelvin 3d class support
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 28 Aug 2016 01:32:34 +0000 (21:32 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:29 +0000 (17:29 +1000)
Tested on a NV34. There are reports of this also working on the other
nv3x chips. Largely useful for testing software written for NV2x without
having the actual hardware available.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c

index f1e15a4d4f64fe95a2fe38a1fa2566ba376e2698..b4e3c50badc77e759fa8f93021220f340577b56d 100644 (file)
@@ -187,6 +187,7 @@ nv30_gr = {
                { -1, -1, 0x038a, &nv04_gr_object }, /* ifc (nv30) */
                { -1, -1, 0x039e, &nv04_gr_object }, /* swzsurf (nv30) */
                { -1, -1, 0x0397, &nv04_gr_object }, /* rankine */
+               { -1, -1, 0x0597, &nv04_gr_object }, /* kelvin */
                {}
        }
 };
index 300f5ed5de0b0fe618e1707aa0d78b12b62b370f..e7ed04b935cd1f7014cb26fba9d366ea8db3431f 100644 (file)
@@ -123,6 +123,7 @@ nv34_gr = {
                { -1, -1, 0x0389, &nv04_gr_object }, /* sifm (nv30) */
                { -1, -1, 0x038a, &nv04_gr_object }, /* ifc (nv30) */
                { -1, -1, 0x039e, &nv04_gr_object }, /* swzsurf (nv30) */
+               { -1, -1, 0x0597, &nv04_gr_object }, /* kelvin */
                { -1, -1, 0x0697, &nv04_gr_object }, /* rankine */
                {}
        }
index 740df0f52c38882bb808a7fba19edb6f4dfed5d8..5e8abacbacc64df941b55530ce3e2d2137e71041 100644 (file)
@@ -124,6 +124,7 @@ nv35_gr = {
                { -1, -1, 0x038a, &nv04_gr_object }, /* ifc (nv30) */
                { -1, -1, 0x039e, &nv04_gr_object }, /* swzsurf (nv30) */
                { -1, -1, 0x0497, &nv04_gr_object }, /* rankine */
+               { -1, -1, 0x0597, &nv04_gr_object }, /* kelvin */
                {}
        }
 };