diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2017-06-09 18:26:13 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2017-06-12 12:46:08 -0400 |
commit | 4efa16cae0629faa2f5f0e7d089c1b85d946805a (patch) | |
tree | 4cf2d3bb930444dda2baf179db384f14773d6fe3 | |
parent | f9569aa1e583d90a4347a213566a2334c93aa176 (diff) |
drm/i915/cnl: Enable fifo underrun for Cannonlake.
Also in a way that reuse bdw+ for all next platforms.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1497047175-27250-16-git-send-email-rodrigo.vivi@intel.com
-rw-r--r-- | drivers/gpu/drm/i915/intel_fifo_underrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fifo_underrun.c b/drivers/gpu/drm/i915/intel_fifo_underrun.c index 966e255ca053..d484862cc7df 100644 --- a/drivers/gpu/drm/i915/intel_fifo_underrun.c +++ b/drivers/gpu/drm/i915/intel_fifo_underrun.c | |||
@@ -262,7 +262,7 @@ static bool __intel_set_cpu_fifo_underrun_reporting(struct drm_device *dev, | |||
262 | ironlake_set_fifo_underrun_reporting(dev, pipe, enable); | 262 | ironlake_set_fifo_underrun_reporting(dev, pipe, enable); |
263 | else if (IS_GEN7(dev_priv)) | 263 | else if (IS_GEN7(dev_priv)) |
264 | ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old); | 264 | ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old); |
265 | else if (IS_GEN8(dev_priv) || IS_GEN9(dev_priv)) | 265 | else if (INTEL_GEN(dev_priv) >= 8) |
266 | broadwell_set_fifo_underrun_reporting(dev, pipe, enable); | 266 | broadwell_set_fifo_underrun_reporting(dev, pipe, enable); |
267 | 267 | ||
268 | return old; | 268 | return old; |