summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2020-12-15 20:03:09 -0800
committerVinson Lee <vlee@freedesktop.org>2020-12-18 13:23:18 -0800
commitb9fccafed616aa2906dad3c77dca0c67af5017b8 (patch)
tree208d3b45e4ebecc8ee1ea1ff39d2a54456bf1ac2
parent19e96d4566dda9ad64af849b91db7ad9b9d55395 (diff)
vc4: Fix typos.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8120>
-rw-r--r--src/gallium/drivers/vc4/kernel/vc4_drv.h2
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_schedule.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_drv.h b/src/gallium/drivers/vc4/kernel/vc4_drv.h
index 8f5ed00d96f..eb1ecfee9fb 100644
--- a/src/gallium/drivers/vc4/kernel/vc4_drv.h
+++ b/src/gallium/drivers/vc4/kernel/vc4_drv.h
@@ -120,7 +120,7 @@ struct vc4_exec_info {
* contents in p0, and validate that the offset combined with
* width/height/stride/etc. from p1 and p2/p3 doesn't sample outside the BO.
* Note that the hardware treats unprovided config parameters as 0, so not all
- * of them need to be set up for every texure sample, and we'll store ~0 as
+ * of them need to be set up for every texture sample, and we'll store ~0 as
* the offset to mark the unused ones.
*
* See the VC4 3D architecture guide page 41 ("Texture and Memory Lookup Unit
diff --git a/src/gallium/drivers/vc4/vc4_qpu.c b/src/gallium/drivers/vc4/vc4_qpu.c
index 380b9f43c59..646095293c6 100644
--- a/src/gallium/drivers/vc4/vc4_qpu.c
+++ b/src/gallium/drivers/vc4/vc4_qpu.c
@@ -582,7 +582,7 @@ qpu_merge_inst(uint64_t a, uint64_t b)
return 0;
} else {
/* Make sure we're not going to be putting new MUL
- * packing oneither half.
+ * packing on either half.
*/
if (new_a_pack &&
QPU_GET_FIELD(a, QPU_OP_MUL) != QPU_M_NOP)
diff --git a/src/gallium/drivers/vc4/vc4_qpu_schedule.c b/src/gallium/drivers/vc4/vc4_qpu_schedule.c
index 5f01f8c7093..cfacc23b3b1 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_schedule.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_schedule.c
@@ -612,7 +612,7 @@ choose_instruction_to_schedule(struct choose_scoreboard *scoreboard,
continue;
/* Don't merge in something that will lock the TLB.
- * Hopwefully what we have in inst will release some
+ * Hopefully what we have in inst will release some
* other instructions, allowing us to delay the
* TLB-locking instruction until later.
*/