[Intel-gfx] [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2

Jesse Barnes jbarnes at virtuousgeek.org
Wed Dec 7 21:11:24 CET 2011


On Fri, 18 Nov 2011 08:53:30 +0800
"Lan, Hai" <hai.lan at intel.com> wrote:

> > +	/*
> > +	 * We can take a larger source and scale it down, but
> > +	 * only so much...  16x is the max on SNB.
> > +	 */
> > +	if (((src_w * src_h) / (crtc_w * crtc_h)) > intel_plane->max_downscale)
> > +		return -EINVAL;
> > +
> [Lan, Hai] if crtc_w or crtc_h = 0, the drm driver will crash. 

Pulled this in with a couple of changes; please check out the latest
code and make sure it's ok.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111207/4989d368/attachment.sig>


More information about the Intel-gfx mailing list