On Fri, 18 Nov 2011 08:53:30 +0800 "Lan, Hai" <hai....@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
signature.asc
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx