All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Zanoni <paulo.r.zanoni@intel.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t v3 4/4] tests/kms_frontbuffer_tracking: Remove redundant modesets during subtest start.
Date: Thu, 05 Apr 2018 12:30:24 -0700	[thread overview]
Message-ID: <1522956624.2748.16.camel@intel.com> (raw)
In-Reply-To: <1ec07ec3-8f39-bbf2-9a3d-02746040e9b9@linux.intel.com>

Em Qui, 2018-04-05 às 21:21 +0200, Maarten Lankhorst escreveu:
> Op 05-04-18 om 18:31 schreef Paulo Zanoni:
> > Em Qua, 2018-03-21 às 12:47 -0700, Paulo Zanoni escreveu:
> > > Em Qui, 2018-03-01 às 16:33 +0100, Maarten Lankhorst escreveu:
> > > > Hey,
> > > > 
> > > > Op 27-02-18 om 09:52 schreef Maarten Lankhorst:
> > > > > CRC capturing enables the display, then disables it again.
> > > > > With
> > > > > igt_display we can use igt_display_reset to restore the
> > > > > original
> > > > > state,
> > > > > without committing it to the hw.
> > > > > 
> > > > > All subtests first set their own state anyway, so we can save
> > > > > up
> > > > > on
> > > > > the number of commits.
> > > > 
> > > > I patched igt_kms to report the number of modesets..
> > > > 
> > > > Without this patch running ./kms_frontbuffer_tracking on a 2
> > > > output
> > > > system (f2-snb-2600, forced VGA-1 enabled):
> > > > Performed 382 modesets
> > > > 
> > > > With this patch on a 2 output system:
> > > > Performed 23 modesets
> > > > 
> > > > On geminilake this means we save a lot of time, so could
> > > > someone
> > > > review this series?
> > > 
> > > Is there an analysis on how reducing the amount of modesets will
> > > *not*
> > > invalidade the purpose of the tests? The modesets are there for a
> > > reason.
> > 
> > Ping?
> 
> How will doing a modeset improve the test?
> 
> We preserve the mode only if it makes sense, each subtest sets the
> parameters it wants. It just happens that in most cases that's the
> same mode, so we don't have to do a modeset.
> That's all. :)

But having or not having a modeset, having or not having a flip changes
how the FBC code in the Kernel behaves. So changing from having a
modeset to not having one will definitely have an impact on what code
gets run. It would be good to have a detailed analysis on why this is
not the case the specific points that changed.

> 
> ~Maarten
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2018-04-05 19:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27  8:52 [igt-dev] [PATCH i-g-t v3 0/4] kms_panel_fitting and kms_frontbuffer_tracking cleanups Maarten Lankhorst
2018-02-27  8:52 ` [igt-dev] [PATCH i-g-t v3 1/4] tests/kms_panel_fitting: Test cleanups Maarten Lankhorst
2018-03-05 13:45   ` Arkadiusz Hiler
2018-02-27  8:52 ` [igt-dev] [PATCH i-g-t v3 2/4] lib/igt_kms: Fix igt_plane_reset to handle cursor planes correctly too Maarten Lankhorst
2018-03-05 13:48   ` Arkadiusz Hiler
2018-02-27  8:52 ` [igt-dev] [PATCH i-g-t v3 3/4] tests/kms_frontbuffer_tracking: Convert test to use igt_display, v3 Maarten Lankhorst
2018-03-07 15:17   ` Arkadiusz Hiler
2018-03-07 15:26     ` Arkadiusz Hiler
2018-03-07 16:40       ` Maarten Lankhorst
2018-03-08  8:57   ` Arkadiusz Hiler
2018-03-12 13:09     ` Maarten Lankhorst
2018-02-27  8:52 ` [igt-dev] [PATCH i-g-t v3 4/4] tests/kms_frontbuffer_tracking: Remove redundant modesets during subtest start Maarten Lankhorst
2018-03-01 15:33   ` Maarten Lankhorst
2018-03-21 19:47     ` Paulo Zanoni
2018-04-05 16:31       ` Paulo Zanoni
2018-04-05 19:21         ` Maarten Lankhorst
2018-04-05 19:30           ` Paulo Zanoni [this message]
2018-04-05 19:44             ` Daniel Vetter
2018-02-27  9:15 ` [igt-dev] ✓ Fi.CI.BAT: success for kms_panel_fitting and kms_frontbuffer_tracking cleanups. (rev3) Patchwork
2018-02-27 10:00 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-03-06 11:21 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2018-03-06 15:21 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

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=1522956624.2748.16.camel@intel.com \
    --to=paulo.r.zanoni@intel.com \
    --cc=igt-dev@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.