From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: "Lan, Hai" <hai.lan@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2
Date: Wed, 7 Dec 2011 12:11:24 -0800 [thread overview]
Message-ID: <20111207121124.02af462b@jbarnes-desktop> (raw)
In-Reply-To: <625BA99ED14B2D499DC4E29D8138F1506860C48D08@shsmsx502.ccr.corp.intel.com>
[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]
On Fri, 18 Nov 2011 08:53:30 +0800
"Lan, Hai" <hai.lan@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
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2011-12-07 20:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-14 20:22 [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2 Jesse Barnes
2011-11-14 20:22 ` [PATCH 2/3] drm/i915: add destination color key support Jesse Barnes
2011-11-16 16:10 ` Daniel Vetter
2011-11-16 16:48 ` Jesse Barnes
2011-11-14 20:22 ` [PATCH 3/3] drm/i915: track sprite coverage and disable primary plane if possible Jesse Barnes
2011-11-16 16:05 ` Daniel Vetter
2011-11-16 16:46 ` Jesse Barnes
2011-11-16 16:01 ` [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2 Daniel Vetter
2011-11-18 0:53 ` Lan, Hai
2011-12-07 20:11 ` Jesse Barnes [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-11-14 19:47 Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111207121124.02af462b@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=hai.lan@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox