Via the prototyping cycle, a substantial amount of dead code and other cruft has accumulated in the Panfrost tree, which is a burden for both maintenance and aesthetic.
This patch series removes dead code when it's trivial to do so, or refactors in order to remove dead code when nontrivial to do so. After these patches, all "#if 0" code is removed except for the wallpapering routine which will be another series in and of itself ;) Alyssa Rosenzweig (5): panfrost: Remove if 0'd dead code panfrost: Specify supported draw modes per-context panfrost: Overhaul viewport code; fix scissor test panfrost: Remove speculative if 0'd format bit code panfrost: Elucidate texture op scheduling comment .../drivers/panfrost/midgard/cmdline.c | 11 -- .../panfrost/midgard/midgard_compile.c | 9 +- src/gallium/drivers/panfrost/pan_assemble.c | 14 -- .../drivers/panfrost/pan_blend_shaders.c | 16 --- src/gallium/drivers/panfrost/pan_context.c | 129 +++++++++--------- src/gallium/drivers/panfrost/pan_context.h | 3 + src/gallium/drivers/panfrost/pan_swizzle.c | 37 ----- 7 files changed, 69 insertions(+), 150 deletions(-) -- 2.20.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev