[Mesa-dev] [PATCH 0/5] Cleanup dead code

Alyssa Rosenzweig alyssa at rosenzweig.io
Sat Feb 9 01:21:40 UTC 2019


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



More information about the mesa-dev mailing list