Module: Mesa
Branch: main
Commit: 7a32a9aa18739253efc74363f3b633bb64edb846
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a32a9aa18739253efc74363f3b633bb64edb846

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Aug  1 10:43:32 2023 -0400

panfrost: Add missing inline

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Italo Nicola <[email protected]>
Acked-by: Faith Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24428>

---

 src/gallium/drivers/panfrost/pan_job.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_job.h 
b/src/gallium/drivers/panfrost/pan_job.h
index c70b74f36fc..b5120b0ac0a 100644
--- a/src/gallium/drivers/panfrost/pan_job.h
+++ b/src/gallium/drivers/panfrost/pan_job.h
@@ -50,7 +50,7 @@ struct pan_tristate {
  * Try to set a tristate value to a desired boolean value. Returns whether the
  * operation is successful.
  */
-static bool
+static inline bool
 pan_tristate_set(struct pan_tristate *state, bool value)
 {
    switch (state->v) {
@@ -73,7 +73,7 @@ pan_tristate_set(struct pan_tristate *state, bool value)
  * Read the boolean value of a tristate. Return value undefined in the don't
  * care state.
  */
-static bool
+static inline bool
 pan_tristate_get(struct pan_tristate state)
 {
    return (state.v == PAN_TRISTATE_TRUE);

Reply via email to