<div dir="ltr">Reviewed-by: Rodrigo Vivi <<a href="mailto:rodrigo.vivi@intel.com">rodrigo.vivi@intel.com</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <span dir="ltr"><<a href="mailto:damien.lespiau@intel.com" target="_blank">damien.lespiau@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Skylake, we use plane1 as primary plane and plane2/3 as sprite<br>
planes.<br>
<br>
v2: Rebase on top of the for_each_pipe() change adding dev_priv as first<br>
argument.<br>
<br>
Signed-off-by: Damien Lespiau <<a href="mailto:damien.lespiau@intel.com">damien.lespiau@intel.com</a>><br>
---<br>
drivers/gpu/drm/i915/i915_dma.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c<br>
index a58fed9..4573953 100644<br>
--- a/drivers/gpu/drm/i915/i915_dma.c<br>
+++ b/drivers/gpu/drm/i915/i915_dma.c<br>
@@ -1528,7 +1528,7 @@ static void intel_device_info_runtime_init(struct drm_device *dev)<br>
<br>
info = (struct intel_device_info *)&dev_priv->info;<br>
<br>
- if (IS_VALLEYVIEW(dev))<br>
+ if (IS_VALLEYVIEW(dev) || INTEL_INFO(dev)->gen == 9)<br>
for_each_pipe(dev_priv, pipe)<br>
info->num_sprites[pipe] = 2;<br>
else<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.1<br>
<br>
_______________________________________________<br>
Intel-gfx mailing list<br>
<a href="mailto:Intel-gfx@lists.freedesktop.org">Intel-gfx@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/intel-gfx" target="_blank">http://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Rodrigo Vivi</div><div>Blog: <a href="http://blog.vivi.eng.br" target="_blank">http://blog.vivi.eng.br</a></div><div> </div>
</div>