From: Patchwork <patchwork@emeril.freedesktop.org>
To: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: ✗ Fi.CI.CHECKPATCH: warning for drm/i915/perf: Refactor oa object to better manage resources (rev6)
Date: Wed, 07 Aug 2019 17:50:01 -0000 [thread overview]
Message-ID: <20190807175001.24672.28667@emeril.freedesktop.org> (raw)
In-Reply-To: <20190806233002.984-1-umesh.nerlige.ramappa@intel.com>
== Series Details ==
Series: drm/i915/perf: Refactor oa object to better manage resources (rev6)
URL : https://patchwork.freedesktop.org/series/60176/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
ae33771060e0 drm/i915/perf: Refactor oa object to better manage resources
-:523: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'stream->oa_buffer.last_ctx_id ==
stream->specific_ctx_id'
#523: FILE: drivers/gpu/drm/i915/i915_perf.c:791:
+ if (!dev_priv->perf.exclusive_stream->ctx ||
+ stream->specific_ctx_id == ctx_id ||
+ (stream->oa_buffer.last_ctx_id ==
+ stream->specific_ctx_id) ||
reason & OAREPORT_REASON_CTX_SWITCH) {
-:876: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#876: FILE: drivers/gpu/drm/i915/i915_perf.c:1366:
+ BUG_ON(stream != dev_priv->perf.exclusive_stream);
-:1387: ERROR:CODE_INDENT: code indent should use tabs where possible
#1387: FILE: drivers/gpu/drm/i915/i915_perf.c:2438:
+^I^I poll_check_timer);$
-:1556: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1556: FILE: drivers/gpu/drm/i915/i915_perf.c:3613:
+ dev_priv->perf.gen8_valid_ctx_bit = (1<<25);
^
-:1564: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1564: FILE: drivers/gpu/drm/i915/i915_perf.c:3618:
+ dev_priv->perf.gen8_valid_ctx_bit = (1<<16);
^
-:1594: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1594: FILE: drivers/gpu/drm/i915/i915_perf.c:3638:
+ dev_priv->perf.gen8_valid_ctx_bit = (1<<16);
^
-:1615: ERROR:CODE_INDENT: code indent should use tabs where possible
#1615: FILE: drivers/gpu/drm/i915/i915_perf.c:3653:
+ ^I^I/* We set up some ratelimit state to potentially throttle any$
-:1615: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1615: FILE: drivers/gpu/drm/i915/i915_perf.c:3653:
+ ^I^I/* We set up some ratelimit state to potentially throttle any$
-:1615: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1615: FILE: drivers/gpu/drm/i915/i915_perf.c:3653:
+ ^I^I/* We set up some ratelimit state to potentially throttle any$
-:1616: ERROR:CODE_INDENT: code indent should use tabs where possible
#1616: FILE: drivers/gpu/drm/i915/i915_perf.c:3654:
+ ^I^I * _NOTES about spurious, invalid OA reports which we don't$
-:1616: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1616: FILE: drivers/gpu/drm/i915/i915_perf.c:3654:
+ ^I^I * _NOTES about spurious, invalid OA reports which we don't$
-:1617: ERROR:CODE_INDENT: code indent should use tabs where possible
#1617: FILE: drivers/gpu/drm/i915/i915_perf.c:3655:
+ ^I^I * forward to userspace.$
-:1617: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1617: FILE: drivers/gpu/drm/i915/i915_perf.c:3655:
+ ^I^I * forward to userspace.$
-:1618: ERROR:CODE_INDENT: code indent should use tabs where possible
#1618: FILE: drivers/gpu/drm/i915/i915_perf.c:3656:
+ ^I^I *$
-:1618: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1618: FILE: drivers/gpu/drm/i915/i915_perf.c:3656:
+ ^I^I *$
-:1619: ERROR:CODE_INDENT: code indent should use tabs where possible
#1619: FILE: drivers/gpu/drm/i915/i915_perf.c:3657:
+ ^I^I * We print a _NOTE about any throttling when closing the$
-:1619: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1619: FILE: drivers/gpu/drm/i915/i915_perf.c:3657:
+ ^I^I * We print a _NOTE about any throttling when closing the$
-:1620: ERROR:CODE_INDENT: code indent should use tabs where possible
#1620: FILE: drivers/gpu/drm/i915/i915_perf.c:3658:
+ ^I^I * stream instead of waiting until driver _fini which no one$
-:1620: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1620: FILE: drivers/gpu/drm/i915/i915_perf.c:3658:
+ ^I^I * stream instead of waiting until driver _fini which no one$
-:1621: ERROR:CODE_INDENT: code indent should use tabs where possible
#1621: FILE: drivers/gpu/drm/i915/i915_perf.c:3659:
+ ^I^I * would ever see.$
-:1621: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1621: FILE: drivers/gpu/drm/i915/i915_perf.c:3659:
+ ^I^I * would ever see.$
-:1622: ERROR:CODE_INDENT: code indent should use tabs where possible
#1622: FILE: drivers/gpu/drm/i915/i915_perf.c:3660:
+ ^I^I *$
-:1622: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1622: FILE: drivers/gpu/drm/i915/i915_perf.c:3660:
+ ^I^I *$
-:1623: ERROR:CODE_INDENT: code indent should use tabs where possible
#1623: FILE: drivers/gpu/drm/i915/i915_perf.c:3661:
+ ^I^I * Using the same limiting factors as printk_ratelimit()$
-:1623: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1623: FILE: drivers/gpu/drm/i915/i915_perf.c:3661:
+ ^I^I * Using the same limiting factors as printk_ratelimit()$
-:1624: ERROR:CODE_INDENT: code indent should use tabs where possible
#1624: FILE: drivers/gpu/drm/i915/i915_perf.c:3662:
+ ^I^I */$
-:1624: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1624: FILE: drivers/gpu/drm/i915/i915_perf.c:3662:
+ ^I^I */$
-:1625: ERROR:CODE_INDENT: code indent should use tabs where possible
#1625: FILE: drivers/gpu/drm/i915/i915_perf.c:3663:
+ ^I^Iratelimit_state_init(&dev_priv->perf.spurious_report_rs,$
-:1625: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1625: FILE: drivers/gpu/drm/i915/i915_perf.c:3663:
+ ^I^Iratelimit_state_init(&dev_priv->perf.spurious_report_rs,$
-:1625: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1625: FILE: drivers/gpu/drm/i915/i915_perf.c:3663:
+ ^I^Iratelimit_state_init(&dev_priv->perf.spurious_report_rs,$
-:1626: ERROR:CODE_INDENT: code indent should use tabs where possible
#1626: FILE: drivers/gpu/drm/i915/i915_perf.c:3664:
+ ^I^I^I^I 5 * HZ, 10);$
-:1626: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1626: FILE: drivers/gpu/drm/i915/i915_perf.c:3664:
+ ^I^I^I^I 5 * HZ, 10);$
-:1626: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1626: FILE: drivers/gpu/drm/i915/i915_perf.c:3664:
+ ratelimit_state_init(&dev_priv->perf.spurious_report_rs,
+ 5 * HZ, 10);
-:1626: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1626: FILE: drivers/gpu/drm/i915/i915_perf.c:3664:
+ ^I^I^I^I 5 * HZ, 10);$
-:1627: ERROR:CODE_INDENT: code indent should use tabs where possible
#1627: FILE: drivers/gpu/drm/i915/i915_perf.c:3665:
+ ^I^I/* Since we use a DRM_NOTE for spurious reports it would be$
-:1627: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1627: FILE: drivers/gpu/drm/i915/i915_perf.c:3665:
+ ^I^I/* Since we use a DRM_NOTE for spurious reports it would be$
-:1627: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1627: FILE: drivers/gpu/drm/i915/i915_perf.c:3665:
+ ^I^I/* Since we use a DRM_NOTE for spurious reports it would be$
-:1628: ERROR:CODE_INDENT: code indent should use tabs where possible
#1628: FILE: drivers/gpu/drm/i915/i915_perf.c:3666:
+ ^I^I * inconsistent to let __ratelimit() automatically print a$
-:1628: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1628: FILE: drivers/gpu/drm/i915/i915_perf.c:3666:
+ ^I^I * inconsistent to let __ratelimit() automatically print a$
-:1629: ERROR:CODE_INDENT: code indent should use tabs where possible
#1629: FILE: drivers/gpu/drm/i915/i915_perf.c:3667:
+ ^I^I * warning for throttling.$
-:1629: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1629: FILE: drivers/gpu/drm/i915/i915_perf.c:3667:
+ ^I^I * warning for throttling.$
-:1630: ERROR:CODE_INDENT: code indent should use tabs where possible
#1630: FILE: drivers/gpu/drm/i915/i915_perf.c:3668:
+ ^I^I */$
-:1630: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1630: FILE: drivers/gpu/drm/i915/i915_perf.c:3668:
+ ^I^I */$
-:1631: ERROR:CODE_INDENT: code indent should use tabs where possible
#1631: FILE: drivers/gpu/drm/i915/i915_perf.c:3669:
+ ^I^Iratelimit_set_flags(&dev_priv->perf.spurious_report_rs,$
-:1631: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1631: FILE: drivers/gpu/drm/i915/i915_perf.c:3669:
+ ^I^Iratelimit_set_flags(&dev_priv->perf.spurious_report_rs,$
-:1631: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1631: FILE: drivers/gpu/drm/i915/i915_perf.c:3669:
+ ^I^Iratelimit_set_flags(&dev_priv->perf.spurious_report_rs,$
-:1632: ERROR:CODE_INDENT: code indent should use tabs where possible
#1632: FILE: drivers/gpu/drm/i915/i915_perf.c:3670:
+ ^I^I^I^I RATELIMIT_MSG_ON_RELEASE);$
-:1632: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1632: FILE: drivers/gpu/drm/i915/i915_perf.c:3670:
+ ^I^I^I^I RATELIMIT_MSG_ON_RELEASE);$
-:1632: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1632: FILE: drivers/gpu/drm/i915/i915_perf.c:3670:
+ ratelimit_set_flags(&dev_priv->perf.spurious_report_rs,
+ RATELIMIT_MSG_ON_RELEASE);
-:1632: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1632: FILE: drivers/gpu/drm/i915/i915_perf.c:3670:
+ ^I^I^I^I RATELIMIT_MSG_ON_RELEASE);$
total: 19 errors, 25 warnings, 6 checks, 2092 lines checked
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-08-07 17:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-06 23:30 [PATCH] drm/i915/perf: Refactor oa object to better manage resources Umesh Nerlige Ramappa
2019-08-06 23:46 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/perf: Refactor oa object to better manage resources (rev5) Patchwork
2019-08-06 23:47 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-08-07 0:11 ` ✓ Fi.CI.BAT: success " Patchwork
2019-08-07 9:53 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-08-07 17:50 ` Patchwork [this message]
2019-08-07 17:51 ` ✗ Fi.CI.SPARSE: warning for drm/i915/perf: Refactor oa object to better manage resources (rev6) Patchwork
2019-08-07 18:18 ` ✓ Fi.CI.BAT: success " Patchwork
2019-08-07 19:39 ` [PATCH] drm/i915/perf: Refactor oa object to better manage resources Chris Wilson
2019-08-08 5:08 ` ✗ Fi.CI.IGT: failure for drm/i915/perf: Refactor oa object to better manage resources (rev6) 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=20190807175001.24672.28667@emeril.freedesktop.org \
--to=patchwork@emeril.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=umesh.nerlige.ramappa@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