OSDN Git Service

freedreno: Fix OUT_REG() on address regs without a .bo supplied.
authorEric Anholt <eric@anholt.net>
Fri, 17 Jan 2020 22:28:13 +0000 (14:28 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 22:46:09 +0000 (22:46 +0000)
commitd4bc3c93ea56517981b553841c2adbb734a68078
treef1de3e4c8bb3c6c0881ad9a903ffb4a3123b9e18
parentc1327bc283e0a99f27d97c4a48c89efb5248c93d
freedreno: Fix OUT_REG() on address regs without a .bo supplied.

Sometimes you want to zero out an address by supplying a NULL BO, but
without this we would end up only emitting one dword.  Increases size of
fd6_gmem.o by .8%, though it's not clear to me why (no obvious terrible
codegen happening)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3455>
src/freedreno/registers/gen_header.py
src/gallium/drivers/freedreno/a6xx/fd6_pack.h