diff --git a/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c b/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c index c3a443ad263..d39e6d6ec1b 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c +++ b/src/gallium/drivers/etnaviv/etnaviv_ml_nn.c @@ -1253,16 +1253,6 @@ calculate_zrl_bits(struct etna_ml_subgraph *subgraph, const struct etna_operatio unsigned best_compressed_size; unsigned best_zrl_bits; - /* On HW that doesn't natively support depthwise and strided convolutions, - * we have to lower them and pad with lots of zeroes. We can be pretty certain - * that max bits of compression will help these jobs. - */ - if (operation->depthwise || - operation->stride > 1) { - - return max_zrl_bits; - } - /* These are very unlikely to have enough zeroes for compression to be useful. */ if (operation->addition || operation->pointwise) {