This already has the ideal rv-b ;)
But feel free to also use:
Reviewed-by: Rodrigo Vivi <[email protected]>

On Thu, Sep 4, 2014 at 4:26 AM, Damien Lespiau <[email protected]>
wrote:

> gen9 uses very similar memory management to what gen8 has. Just follow
> the flow.
>
> v2: Fix trivial conflict (Damien)
>
> Reviewed-by: Ben Widawsky <[email protected]>
> Signed-off-by: Damien Lespiau <[email protected]>
> ---
>  drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
> b/drivers/gpu/drm/i915/i915_gem_gtt.c
> index 688dd00..66e4b2b 100644
> --- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> @@ -1092,7 +1092,7 @@ static int __hw_ppgtt_init(struct drm_device *dev,
> struct i915_hw_ppgtt *ppgtt)
>
>         if (INTEL_INFO(dev)->gen < 8)
>                 return gen6_ppgtt_init(ppgtt);
> -       else if (IS_GEN8(dev))
> +       else if (IS_GEN8(dev) || IS_GEN9(dev))
>                 return gen8_ppgtt_init(ppgtt, dev_priv->gtt.base.total);
>         else
>                 BUG();
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to