[PATCH 25/37] drm/i915: haswell has 3 pipes as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>

On Wed, Mar 21, 2012 at 10:10 PM, Eugeni Dodonov
<eugeni.dodonov at intel.com> wrote:
> They work differently, but the count is the same.
>
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
> ---
> ?drivers/gpu/drm/i915/i915_dma.c | ? ?2 +-
> ?1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
> index 9341eb8..a2c0e75 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -2073,7 +2073,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
> ? ? ? ?spin_lock_init(&dev_priv->error_lock);
> ? ? ? ?spin_lock_init(&dev_priv->rps_lock);
>
> - ? ? ? if (IS_IVYBRIDGE(dev))
> + ? ? ? if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev))
> ? ? ? ? ? ? ? ?dev_priv->num_pipe = 3;
> ? ? ? ?else if (IS_MOBILE(dev) || !IS_GEN2(dev))
> ? ? ? ? ? ? ? ?dev_priv->num_pipe = 2;
> --
> 1.7.9.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux