nvc0: fix macro define for NVE4_COPY()
authorRhys Kidd <rhyskidd@gmail.com>
Mon, 20 Jul 2020 11:10:25 +0000 (21:10 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 05:49:08 +0000 (05:49 +0000)
Fixes: e44089b2f79 ("nvc0: add initial support for nve4+ (Kepler) chipsets")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5982>

src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h

index 4d07546..8111049 100644 (file)
@@ -63,7 +63,7 @@ PUSH_REFN(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint32_t flags)
 #define NVC0_2D(n) SUBC_2D(NV50_2D_##n)
 
 #define SUBC_COPY(m) 4, (m)
-#define NVE4_COPY(m) SUBC_COPY(NVE4_COPY_##n)
+#define NVE4_COPY(n) SUBC_COPY(NVE4_COPY_##n)
 
 #define SUBC_SW(m) 7, (m)