From c3177e4fc272eb0d8dcce672f612f492e24623f1 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 13 Mar 2024 13:29:35 -0500 Subject: [PATCH] nil: Whitespace fix Part-of: --- src/nouveau/nil/nil_image_tic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nouveau/nil/nil_image_tic.c b/src/nouveau/nil/nil_image_tic.c index 36c808fbed6..0bd4649f388 100644 --- a/src/nouveau/nil/nil_image_tic.c +++ b/src/nouveau/nil/nil_image_tic.c @@ -426,7 +426,7 @@ nvb097_nil_image_fill_tic(const struct nil_image *image, if (tiling->is_tiled) { TH_NVB097_SET_E(th, BL, HEADER_VERSION, SELECT_BLOCKLINEAR); - + assert((layer_address & BITFIELD_MASK(9)) == 0); TH_NVB097_SET_U(th, BL, ADDRESS_BITS31TO9, (uint32_t)layer_address >> 9); TH_NVB097_SET_U(th, BL, ADDRESS_BITS47TO32, layer_address >> 32); @@ -440,7 +440,7 @@ nvb097_nil_image_fill_tic(const struct nil_image *image, TH_NVB097_SET_U(th, BL, TEXTURE_TYPE, pipe_to_nv_texture_type(view->type)); } else { TH_NVB097_SET_E(th, PITCH, HEADER_VERSION, SELECT_PITCH); - + assert((layer_address & BITFIELD_MASK(5)) == 0); TH_NVB097_SET_U(th, PITCH, ADDRESS_BITS31TO5, (uint32_t)layer_address >> 5);