diff options
author | Brad Volkin <bradley.d.volkin@intel.com> | 2014-06-17 14:10:34 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-18 00:48:35 +0200 |
commit | c9224faa59c3071ecfa2d4b24592f4eb61e57069 (patch) | |
tree | bc0e9d8d9155ac38644f461f1d8945f8a781e1ee /drivers/gpu/drm/i915/i915_cmd_parser.c | |
parent | beff0d0f6121f6a2a818a050a1e4d91706b3f190 (diff) | |
download | op-kernel-dev-c9224faa59c3071ecfa2d4b24592f4eb61e57069.zip op-kernel-dev-c9224faa59c3071ecfa2d4b24592f4eb61e57069.tar.gz |
drm/i915: Add some L3 registers to the parser whitelist
Beignet needs these in order to program the L3 cache config for
OpenCL workloads, particularly when using SLM.
Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_cmd_parser.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_cmd_parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c index 9d79543..dea99d9 100644 --- a/drivers/gpu/drm/i915/i915_cmd_parser.c +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c @@ -426,6 +426,9 @@ static const u32 gen7_render_regs[] = { GEN7_SO_WRITE_OFFSET(1), GEN7_SO_WRITE_OFFSET(2), GEN7_SO_WRITE_OFFSET(3), + GEN7_L3SQCREG1, + GEN7_L3CNTLREG2, + GEN7_L3CNTLREG3, }; static const u32 gen7_blt_regs[] = { |