drm/i915: Use a mask when applying WaProgramL3SqcReg1Default
authorOscar Mateo <[email protected]>
Tue, 17 Oct 2017 20:25:45 +0000 (13:25 -0700)
committerChris Wilson <[email protected]>
Tue, 17 Oct 2017 22:21:11 +0000 (23:21 +0100)
commit930a784d02339be437fec07b3bb7213bde0ed53b
tree03eaa4e9678b4cadc6e8827cae045454dfff8f21
parentd6242aeb48d741eb7c1559cdb95d368de04466bd
drm/i915: Use a mask when applying WaProgramL3SqcReg1Default

Otherwise we are blasting other bits in GEN8_L3SQCREG1 that might be important
(although we probably aren't at the moment because 0 seems to be the default
for all the other bits).

v2: Extra parentheses (Michel)

Fixes: 050fc46 ("drm/i915:bxt: implement WaProgramL3SqcReg1DefaultForPerf")
Fixes: 450174f ("drm/i915/chv: Tune L3 SQC credits based on actual latencies")
Signed-off-by: Oscar Mateo <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Imre Deak <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_pm.c