OSDN Git Service

i965/fs: Don't let the EOT send message interfere with the MRF hack
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Jun 2015 19:15:30 +0000 (12:15 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 Jun 2015 16:22:56 +0000 (09:22 -0700)
commit86e5afbfee5492235cab1a7be4ea49ac02be1644
tree491cadbd1a98c03acc971a927e7ceaa1ec43a6e3
parent65bd4159b35c7213e0ac27c6299495e08a105ab4
i965/fs: Don't let the EOT send message interfere with the MRF hack

Previously, we just put the message for the EOT send as high in the file as
it would go.  This is because the register pre-filling hardware will stop
all over the early registers in the file in preparation for the next thread
while you're still sending the last message.  However, if something happens
to spill, then the MRF hack interferes with the EOT send message and, if
things aren't scheduled nicely, will stomp on it.

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90520
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp