public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: sagar.a.kamble@intel.com
Cc: intel-gfx@lists.freedesktop.org, Uma Shankar <uma.shankar@intel.com>
Subject: Re: [PATCH 1/1] drm/i915: Enabling plane rotation control through sysfs
Date: Fri, 24 Jan 2014 16:24:46 +0200	[thread overview]
Message-ID: <20140124142446.GF9454@intel.com> (raw)
In-Reply-To: <20140124141410.GE9454@intel.com>

On Fri, Jan 24, 2014 at 04:14:10PM +0200, Ville Syrjälä wrote:
> On Fri, Jan 24, 2014 at 07:18:43PM +0530, sagar.a.kamble@intel.com wrote:
> > From: Sagar Kamble <sagar.a.kamble@intel.com>
> > 
> > This patch enables 180 degree rotation for primary and sprite planes
> > through sysfs interface.
> 
> NAK.
> 
> See here for the right apporach:
> http://lists.freedesktop.org/archives/intel-gfx/2013-September/033951.html

And BTW if you're really interested in getting this stuff in, we (Daniel
actually :) need tests in i-g-t. We have the display CRC stuff availalbe,
so fully automated tests are possible for this stuff. So this is
definitely one area where we're lacking manpower.

Some ideas for simple sprite tests:
- make sure it appears on the right spot on the screen
- make sure it doesn't appear when off screen
- make sure it clips correctly when partially off screen
- repeat everything w/ 180 degree rotation

One idea for a color key test:
- clear primary to solid color (or some fancier image)
- clear sprite to another color (or some fancier image)
- fill a small rect in the color key on the primary
- place the sprite on top of the color keyed are but make it slightly
  bigger than the area, and make sure only the color keyed area shows
  the sprite

So this would all involve rendering the reference images w/ software,
and then reproducing the expected result using the sprite, and making
sure it all matches up.

Finally come up with more tests as more properties get added (z order,
blending, etc.).

-- 
Ville Syrjälä
Intel OTC

  reply	other threads:[~2014-01-24 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 13:48 [PATCH 1/1] drm/i915: Enabling plane rotation control through sysfs sagar.a.kamble
2014-01-24 14:14 ` Ville Syrjälä
2014-01-24 14:24   ` Ville Syrjälä [this message]
2014-01-28 15:59     ` Ville Syrjälä

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=20140124142446.GF9454@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=sagar.a.kamble@intel.com \
    --cc=uma.shankar@intel.com \
    /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