i915: Fix black buffers when importing prime fds
authorAndreas Pokorny <andreas.pokorny@canonical.com>
Wed, 27 Aug 2014 07:36:16 +0000 (09:36 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 22 Sep 2014 23:26:17 +0000 (00:26 +0100)
commitdf341320c9be34c40b76e42510640120e0ebe0d3
treef7daac64a7e80c8e718d4654a387f6f3f87f9fb5
parent53b614bfd3c12368347b2953121e815add68d90b
i915: Fix black buffers when importing prime fds

Width and Height of the imported image was never initialized from the
imported bo.

Cc: 10.2 10.3 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/mesa/drivers/dri/i915/intel_screen.c