[Intel-gfx] [PATCH 60/67] drm/i915/cnl: Enable fifo underrun for Cannonlake.
Mika Kahola
mika.kahola at intel.com
Fri Apr 7 08:16:28 UTC 2017
Looks ok to me.
On Thu, 2017-04-06 at 12:15 -0700, Rodrigo Vivi wrote:
> Also in a way that reuse bdw+ for all next platforms.
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
> ---
> drivers/gpu/drm/i915/intel_fifo_underrun.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_fifo_underrun.c
> b/drivers/gpu/drm/i915/intel_fifo_underrun.c
> index 966e255..d484862 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,
> ironlake_set_fifo_underrun_reporting(dev, pipe,
> enable);
> else if (IS_GEN7(dev_priv))
> ivybridge_set_fifo_underrun_reporting(dev, pipe,
> enable, old);
> - else if (IS_GEN8(dev_priv) || IS_GEN9(dev_priv))
> + else if (INTEL_GEN(dev_priv) >= 8)
> broadwell_set_fifo_underrun_reporting(dev, pipe,
> enable);
>
> return old;
--
Mika Kahola - Intel OTC
More information about the Intel-gfx
mailing list