From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
Tvrtko Ursulin <tursulin@ursulin.net>,
Intel-gfx@lists.freedesktop.org
Subject: Re: [CI] drm/i915/pmu: Do not assume fixed hrtimer period
Date: Tue, 5 Jun 2018 16:06:57 +0100 [thread overview]
Message-ID: <e6c29387-05f0-970b-e5c8-e65ea52bf5e3@linux.intel.com> (raw)
In-Reply-To: <152820843816.9058.8774791131852744549@mail.alporthouse.com>
On 05/06/2018 15:20, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2018-06-05 15:02:53)
>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>
>> As Chris has discovered on his Ivybridge, and later automated test runs
>> have confirmed, on most of our platforms hrtimer faced with heavy GPU load
>> can occasionally become sufficiently imprecise to affect PMU sampling
>> calculations.
>>
>> This means we cannot assume sampling frequency is what we asked for, but
>> we need to measure the interval ourselves.
>>
>> This patch is similar to Chris' original proposal for per-engine counters,
>> but instead of introducing a new set to work around the problem with
>> frequency sampling, it swaps around the way internal frequency accounting
>> is done. Instead of accumulating current frequency and dividing by
>> sampling frequency on readout, it accumulates frequency scaled by each
>> period.
>>
>> v2:
>> * Typo in commit message, comment on period calculation and USER_PER_SEC.
>> (Chris Wilson)
>
> Ironic typo in pointing out the typo?
>
> /me can't tell if it's humour or just an annoying user.
More typos? Where? Don't see anything and neither does my spellchecker! :)
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-06-05 15:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-05 14:02 [CI] drm/i915/pmu: Do not assume fixed hrtimer period Tvrtko Ursulin
2018-06-05 14:20 ` Chris Wilson
2018-06-05 15:06 ` Tvrtko Ursulin [this message]
2018-06-05 15:13 ` Chris Wilson
2018-06-05 15:23 ` ✓ Fi.CI.BAT: success for drm/i915/pmu: Do not assume fixed hrtimer period (rev3) Patchwork
2018-06-05 15:47 ` Tvrtko Ursulin
2018-06-05 20:28 ` ✓ Fi.CI.IGT: " 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=e6c29387-05f0-970b-e5c8-e65ea52bf5e3@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=chris@chris-wilson.co.uk \
--cc=tursulin@ursulin.net \
/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