i965: Stop restoring the default L3 configuration on Kernel 4.16+.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 16 Feb 2018 19:03:58 +0000 (11:03 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 17 Feb 2018 19:26:18 +0000 (11:26 -0800)
commita63c74be851e3d9ddc3bc6ae162346463b1daef3
treeadd2d7229fc4a46439943f8270f88a504c01fcab
parent5a1606c51f6619c5bd865c0a39276531bb1ee464
i965: Stop restoring the default L3 configuration on Kernel 4.16+.

Kernel 4.16 has proper context isolation, which means we can change
the L3 configuration without worrying about that leaking to other
newly created contexts, breaking the assumptions of other userspace.

So, disable our workaround to reprogram it back to the default.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.h