summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2020-07-20 21:10:25 +1000
committerEric Engestrom <eric@engestrom.ch>2020-07-22 22:30:05 +0200
commitf9fdd9dfc1777d5676fc26d2cc3626d9b50d365b (patch)
tree6aea6a3999d697ed70f0028ef96662945c95ce4d /src
parentea01305589581530369c2f256143fbec70f64f79 (diff)
nvc0: fix macro define for NVE4_COPY()
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> (cherry picked from commit 203d565b195442dac85701b029eb8ba469c6809b)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h b/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
index 4d07546c310..81110493231 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h
@@ -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)