[Mesa-dev] [PATCH 0/3] panfrost/midgard: Pack constant bias/lod

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Tue Jun 18 16:16:16 UTC 2019

Midgard texture ops taking bias/LOD(/offset) have both immediate and
register modes, depending on whether the argument is constant or not.
Rather than always using register mode and emitting dumb modes all over
the place, support packing constant bias/LOD.

Alyssa Rosenzweig (3):
  panfrost/midgard: Handle negative immediate bias
  panfrost/midgard: Add helper to encode constant bias
  panfrost/midgard: Reorder to permit constant bias

 .../drivers/panfrost/midgard/disassemble.c    |   7 +-
 .../drivers/panfrost/midgard/midgard.h        |   2 +-
 .../panfrost/midgard/midgard_compile.c        | 131 +++++++++++-------
 3 files changed, 87 insertions(+), 53 deletions(-)


More information about the mesa-dev mailing list