From 203d565b195442dac85701b029eb8ba469c6809b Mon Sep 17 00:00:00 2001 From: Rhys Kidd Date: Mon, 20 Jul 2020 21:10:25 +1000 Subject: [PATCH] nvc0: fix macro define for NVE4_COPY() Fixes: e44089b2f79 ("nvc0: add initial support for nve4+ (Kepler) chipsets") Signed-off-by: Rhys Kidd Reviewed-by: Karol Herbst Part-of: --- 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) -- 2.30.2