anv: Fix L3 cache programming on Bay Trail
authorJonas Kulla <nyocurio@gmail.com>
Mon, 19 Jun 2017 17:46:23 +0000 (19:46 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 19 Jun 2017 19:05:52 +0000 (12:05 -0700)
commita52ee32a9a49b48c51a80b8a35aa26bd583cabb7
treebb970f02f76880e3687294a91bf9f8cda60de06d
parent3fc99f12990b65610a037f02071bfcf3220eccb9
anv: Fix L3 cache programming on Bay Trail

Valid values for URBAllocation start at 32, so substract that
before programming the register.

This was missed when porting from the GL driver.

Cc: "17.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_cmd_buffer.c