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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	/*
> +	 * 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. 



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux