URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b76b3bc09c6db2e218f903e0d1c7fb68c9e6458 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 15:17:25 2020 -0400
pan/bi: Fix swizzle for second argument to ST_VARY Off-by-one. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6d96aa962d5497a3fb12b02a47ff9777e5cbfd8 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 15:15:41 2020 -0400 pan/bi: Implement nir_op_ffma We have native FMA which works for graphics usage (unlike Midgard where it's really reserved for compute for various reasons), let's use it. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58f91718944a0cabdd907ed87efe7a239e69a55d Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 15:10:32 2020 -0400 pan/bi: Add dead code elimination pass Now that we have liveness analysis, we can cleanup the IR considerably. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56e1c606f89134e7033e25ca65a23478e13365b8 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:54:49 2020 -0400 pan/bi: Add liveness analysis pass Now that all the guts are shared with Midgard, it's just a matter of wiring it in. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bff6e5e076e5ae7f188b07ce069647ef7eff0c6 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:51:57 2020 -0400 pan/bi: Add bi_max_temp helper Instead of trying to reindex all the times, just be okay with consistent but sparse indices, then figuring out the max index is easy enough. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e0479a6a88656205a1907c8987666f415a7c4a5 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:48:55 2020 -0400 pan/bi: Add bi_next/prev_op helpers From Midgard. These are surprisingly helpful. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e623007eb786ddc5fb06133f3d7c27f9a2eb18f9 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:46:01 2020 -0400 pan/bi: Add bi_bytemask_of_read_components helpers Same purpose as the Midgard version, but the implementation is *dramatically* simpler thanks to our more regular IR. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e94754a7c47bd59526de72115576519e015f4d76 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:40:01 2020 -0400 pan/bi: Paste over bi_has_arg While we're at it, cleanup the Midgard one. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b75f410c44053a4fc84715dec473dadedf7aa14 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 14:35:38 2020 -0400 panfrost: Sync Midgard/Bifrost control flow We can move e v e n more code to be shared and let bi_block inherit from pan_block, which will allow us to use the shared data flow analysis. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=933e44dd435f285e652d29389456dbafca121482 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 13:58:10 2020 -0400 panfrost: Move liveness analysis to root panfrost/ This way we can share the code with Bifrost. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aaaf7b12c037b25f4c0a06af4744a8893c25e50 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 08:36:31 2020 -0400 pan/midgard: Subclass midgard_block from pan_block Promote as much as we feasibly can while keeping it Midgard/Bifrost agnostic. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5dd1d542dea49a19ad3686d26a895395f7f7849 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 08:22:08 2020 -0400 pan/midgard: Sync midgard_block field names with Bifrost Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4998925d6a1225ea4b4ad93e38e7eaaac66fa505 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 08:09:29 2020 -0400 pan/midgard: Decontextualize liveness analysis core We mostly just need the temp_count from it. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bbec3bc64378c25f03c841c443b7e7c4222cd83 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 08:03:28 2020 -0400 pan/midgard: Localize `visited` tracking Instead of a property on the block, just track it within the function to minimize IR dependencies. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=218785c4a95319145b194db4ca9fe9fbc0713461 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 16:20:18 2020 -0400 pan/bi: Implement sysvals Now that it's all abstracted nicely with an implementation shared with Midgard, this is pretty easy to get. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6f5ae88a7ff758bc9a506488f7930d53b68ab19 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 16:09:44 2020 -0400 pan/bi: Switch to panfrost_program ...now that it's shared. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e610267510199532fe22b3c62c0ec68c12918ad4 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 16:06:30 2020 -0400 panfrost: Move Midgard sysval code to common Panfrost We'll use this all as-is in Bifrost. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b756a66607d1870f96470dc121e73a95d71f04d4 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 16:19:33 2020 -0400 pan/midgard: Remove dest_override sysval argument Unused, noticed while working on porting over to Bifrost. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2ff3bb0fea546015755914ac7bdb477c2007da3 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 16:00:56 2020 -0400 pan/midgard: Decontextualize midgard_nir_assign_sysval_body Now all sysval code should be fairly generic. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=674b24dcfd34ea8c6c2ee9a0232f59519ce1d3c1 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 15:54:17 2020 -0400 pan/midgard: Remove indexing dependency of sysvals Ideally we would sync the compilers to use the same indexing scheme but that's a lot more Midgard refactoring than I have time for right now. This is good enough honestly. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c2647f4117a5ec73c0ce12d224318ec5557f31d Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 15:48:52 2020 -0400 pan/midgard: Adjust sysval-related prototypes We'd like to share this big chunk of code with Bifrost but that requires removing the compiler_context parameter... which is totally unused in fact! Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3f438e0236828839ebf639f8118cb697377bbe1 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Wed Mar 11 08:37:58 2020 -0400 pan/midgard: Remove unused iterators Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a4524e2fece57502c93318351534129874c37f9 Author: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Date: Tue Mar 10 15:41:56 2020 -0400 panfrost: Promote midgard_program to panfrost/util We'll want Bifrost to reuse the same linking mechanisms for the most part. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit