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

Author: Boris Brezillon <[email protected]>
Date:   Wed Nov 15 12:53:36 2023 +0100

panfrost: Restrict job chain helpers to JM hardware

Jobs are issued through command stream instructions on CSF hardware.
Don't expose the job chain helpers in that case.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26356>

---

 src/panfrost/lib/pan_jc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/lib/pan_jc.h b/src/panfrost/lib/pan_jc.h
index fa6c5abe501..ccb54492a94 100644
--- a/src/panfrost/lib/pan_jc.h
+++ b/src/panfrost/lib/pan_jc.h
@@ -55,7 +55,7 @@ struct pan_jc {
    unsigned write_value_index;
 };
 
-#ifdef PAN_ARCH
+#if defined(PAN_ARCH) && PAN_ARCH <= 9
 /*
  * There are various types of Mali jobs:
  *

Reply via email to