freedreno/a6xx: Consolidate computing blit_cntl
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 2 Jul 2020 11:03:16 +0000 (04:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 06:12:22 +0000 (06:12 +0000)
commit416513d915ba55365b94937578f8bb8c207a3684
treee5157664a0cc713d779031ce8673fa5c8c2afcf0
parentb36c675858f01c029e6cbee25340b6463d09a8b7
freedreno/a6xx: Consolidate computing blit_cntl

Compute the blit_cntl value in one place and group it with the
register writes.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5717>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c