panfrost/midgard: Implement load/store scratch opcodes
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Jul 2019 14:50:48 +0000 (07:50 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 22 Jul 2019 15:20:34 +0000 (08:20 -0700)
commitd155168e6cdbfc0e86cad6d22fda1111408340e4
tree7b41a2aeedc155df4fb79df5608f95a31c464a06
parent3bb780ecb93117d90b54f8a974abb2387a6f21d2
panfrost/midgard: Implement load/store scratch opcodes

These are used to load/store from Thread Local Storage, which is memory
allocated per-thread (corresponding to ctx->scratchpad in the command
stream) and used for register spilling.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/helpers.h
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/midgard_schedule.c