All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 0/3] drm/i915: Fix SKL+ 90/270 degree rotated scanout
Date: Tue, 6 Jun 2017 19:38:37 +0300	[thread overview]
Message-ID: <20170606163837.GE12629@intel.com> (raw)
In-Reply-To: <2e0ffdab-e20b-3f12-494f-fdfcd56bb3b6@linux.intel.com>

On Tue, Jun 06, 2017 at 05:15:30PM +0200, Maarten Lankhorst wrote:
> Hey,
> 
> Op 06-06-17 om 10:29 schreef Tvrtko Ursulin:
> >
> > On 06/06/2017 09:06, Maarten Lankhorst wrote:
> >> Op 05-04-17 om 15:49 schreef Ville Syrjälä:
> >>> On Fri, Mar 31, 2017 at 10:23:18PM +0100, Chris Wilson wrote:
> >>>> On Fri, Mar 31, 2017 at 09:00:53PM +0300, ville.syrjala@linux.intel.com wrote:
> >>>>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >>>>>
> >>>>> I figured it's about time I fix what I broke with my fb offset stuff.
> >>>>> I've posted the scaler thing before, but the watermark and fbc stuff
> >>>>> is new.
> >>>>>
> >>>>> Based on some quick tests the WM fixes seem effective. Or at least
> >>>>> underruns seemed to disappear when I was running xonotic with 90/270
> >>>>> degree rotation.
> >>>> The key question for me is would we be able to detect any of the errors
> >>>> in igt? How can we improve our testing?
> >>> The rotation test definitely would need some love. It fails to detect
> >>> these problems because it scans out a square image. Making it non-square
> >>> would at least catch the use of the scaler when it shouldn't be used.
> >>>
> >>> Detecting the watermark breakage is less clear. I suppose making the
> >>> plane have a very wide or very tall aspect ratio might help induce
> >>> underruns with the broken wm code.
> >>>
> >>> Another thing that may or may not be missing from the test is panning.
> >>> I'd also like to test scaling, but sadly our hardware makes that
> >>> rather hard by not allowing us to force nearest and/or linear filtering,
> >>> and bspec doesn't actually document what kind of algorithm the hardware
> >>> uses for the different filter modes.
> >>>
> >> Agreed, the whole series is useful but until we have some tests we may as well not commit it. Nothing prevents it from being broken again in the next commit. :(
> >
> > In case tests hit a stumbling blocks/delays, I would appreciate if this got reviewed and merged soonish. As it stands I've been applying (and occasionally forgetting to apply) patches locally since September.
> >
> > And FWIW I would report if it got re-broken, since I'm using monitors in portrait, and like to run recent drm-tip to help catch issues missed elsewhere.
> >
> >> I'll take a look and see if I can make kms_rotation_crc break without this test.
> >
> > Would also need to upgrade the test to basic, or count on extended runs getting attention soon? 
> Maybe?
> 
> I've pushed the fixed test. Managed to test that the scaler is enabled incorrectly and the WM underruns.
> 
> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Thanks for the review, and updating the tests.

Series pushed to dinq.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2017-06-06 16:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 18:00 [PATCH 0/3] drm/i915: Fix SKL+ 90/270 degree rotated scanout ville.syrjala
2017-03-31 18:00 ` [PATCH 1/3] drm/i915: Fix scaling check for 90/270 degree plane rotation ville.syrjala
2017-03-31 18:00   ` ville.syrjala
2017-03-31 18:00 ` [PATCH 2/3] drm/i915: Fix SKL+ watermarks for 90/270 rotation ville.syrjala
2017-03-31 18:00 ` [PATCH 3/3] drm/i915: Fix 90/270 rotated coordinates for FBC ville.syrjala
2017-04-03 17:57   ` Paulo Zanoni
2017-05-19 11:34   ` Tvrtko Ursulin
2017-05-19 11:34     ` [Intel-gfx] " Tvrtko Ursulin
2017-03-31 18:21 ` ✓ Fi.CI.BAT: success for drm/i915: Fix SKL+ 90/270 degree rotated scanout Patchwork
2017-03-31 21:23 ` [PATCH 0/3] " Chris Wilson
2017-04-05 13:49   ` Ville Syrjälä
2017-06-06  8:06     ` Maarten Lankhorst
2017-06-06  8:29       ` Tvrtko Ursulin
2017-06-06 15:15         ` Maarten Lankhorst
2017-06-06 16:38           ` Ville Syrjälä [this message]

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=20170606163837.GE12629@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.