Mesa (master): nvc0: fix macro define for NVE4_COPY()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 22 05:56:39 UTC 2020


Module: Mesa
Branch: master
Commit: 203d565b195442dac85701b029eb8ba469c6809b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=203d565b195442dac85701b029eb8ba469c6809b

Author: Rhys Kidd <rhyskidd at gmail.com>
Date:   Mon Jul 20 21:10:25 2020 +1000

nvc0: fix macro define for NVE4_COPY()

Fixes: e44089b2f79 ("nvc0: add initial support for nve4+ (Kepler) chipsets")
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5982>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 



More information about the mesa-commit mailing list