From: Rhys Kidd Date: Mon, 20 Jul 2020 11:10:25 +0000 (+1000) Subject: nvc0: fix macro define for NVE4_COPY() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=203d565b195442dac85701b029eb8ba469c6809b;p=mesa.git 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: --- 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)