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

Robert Foss robert.foss at collabora.com
Sun Feb 10 17:58:33 UTC 2019


On 2/10/19 6:58 PM, Robert Foss wrote:
> This patch is
s/patch/series

> Reviewed-by: Robert Foss <robert.foss at collabora.com>
> 
> On 2/9/19 2:21 AM, Alyssa Rosenzweig wrote:
>> 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(-)
>>


More information about the mesa-dev mailing list