All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: "Kevin Chowski" <chowski@chromium.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: Introduce quirk for shifting eDP brightness.
Date: Thu, 17 Sep 2020 18:01:08 -0000	[thread overview]
Message-ID: <160036566887.14568.13069509486672920064@emeril.freedesktop.org> (raw)
In-Reply-To: <20200917110838.1.I63d52f5b96d7e81e1e2dc2a72c4bf5fd84d3d3d0@changeid>

== Series Details ==

Series: i915: Introduce quirk for shifting eDP brightness.
URL   : https://patchwork.freedesktop.org/series/81809/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
8c6e983afa60 i915: Introduce quirk for shifting eDP brightness.
-:34: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#34: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:96:
+		if (!drm_dp_dpcd_readb(&intel_dp->aux, DP_EDP_PWMGEN_BIT_COUNT,
+						&read_val[0])) {

-:36: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#36: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:98:
+			DRM_DEBUG_KMS("Failed to read DPCD register 0x%x\n",
+					DP_EDP_PWMGEN_BIT_COUNT);

-:43: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#43: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:105:
+			DRM_DEBUG_KMS("Invalid DP_EDP_PWNGEN_BIT_COUNT 0x%X, expected at most 16\n",
+						read_val[0]);

-:58: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#58: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:128:
+		if (!drm_dp_dpcd_readb(&intel_dp->aux, DP_EDP_PWMGEN_BIT_COUNT,
+						&vals[0])) {

-:60: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#60: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:130:
+			DRM_DEBUG_KMS("Failed to write aux backlight level: Failed to read DPCD register 0x%x\n",
+					  DP_EDP_PWMGEN_BIT_COUNT);

-:67: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#67: FILE: drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:137:
+			DRM_DEBUG_KMS("Failed to write aux backlight level: Invalid DP_EDP_PWNGEN_BIT_COUNT 0x%X, expected at most 16\n",
+						vals[0]);

-:115: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#115: FILE: drivers/gpu/drm/i915/i915_drv.h:519:
+#define QUIRK_SHIFT_EDP_BACKLIGHT_BRIGHTNESS (1<<8)
                                                ^

total: 0 errors, 0 warnings, 7 checks, 78 lines checked


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2020-09-17 18:01 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 17:09 [PATCH] i915: Introduce quirk for shifting eDP brightness Kevin Chowski
2020-09-17 17:09 ` [Intel-gfx] " Kevin Chowski
2020-09-17 17:09 ` Kevin Chowski
2020-09-17 17:13 ` Lyude Paul
2020-09-17 17:13   ` [Intel-gfx] " Lyude Paul
2020-09-17 17:13   ` Lyude Paul
2020-09-17 17:31   ` Kevin Chowski
2020-09-17 17:31     ` [Intel-gfx] " Kevin Chowski
2020-09-17 18:47     ` Lyude Paul
2020-09-17 18:47       ` [Intel-gfx] " Lyude Paul
2020-09-17 17:33   ` Kevin Chowski
2020-09-17 17:33     ` [Intel-gfx] " Kevin Chowski
2020-09-17 17:33     ` Kevin Chowski
2020-09-17 17:26 ` Ville Syrjälä
2020-09-17 17:26   ` [Intel-gfx] " Ville Syrjälä
2020-09-17 17:26   ` Ville Syrjälä
2020-09-17 17:28 ` Jani Nikula
2020-09-17 17:28   ` [Intel-gfx] " Jani Nikula
2020-09-17 17:55   ` Kevin Chowski
2020-09-17 17:55     ` [Intel-gfx] " Kevin Chowski
2020-09-17 17:55     ` Kevin Chowski
2020-09-17 18:14     ` Puthikorn Voravootivat
2020-09-17 18:14       ` [Intel-gfx] " Puthikorn Voravootivat
2020-09-17 18:14       ` Puthikorn Voravootivat
2020-09-17 18:25       ` Ville Syrjälä
2020-09-17 18:25         ` [Intel-gfx] " Ville Syrjälä
2020-09-17 18:43         ` Lyude Paul
2020-09-17 18:43           ` [Intel-gfx] " Lyude Paul
2020-09-17 18:43           ` Lyude Paul
2020-09-17 20:11         ` [Intel-gfx] " Ville Syrjälä
2020-09-17 20:11           ` Ville Syrjälä
2020-09-17 20:11           ` Ville Syrjälä
2020-09-18 17:59           ` Kevin Chowski
2020-09-18 17:59             ` Kevin Chowski
2020-09-18 17:59             ` Kevin Chowski
2020-09-18 18:15             ` Puthikorn Voravootivat
2020-09-18 18:15               ` Puthikorn Voravootivat
2020-09-18 18:15               ` Puthikorn Voravootivat
2020-09-22 18:47               ` Kevin Chowski
2020-09-22 18:47                 ` Kevin Chowski
2020-09-22 18:47                 ` Kevin Chowski
2020-09-22 19:58                 ` Puthikorn Voravootivat
2020-09-22 19:58                   ` Puthikorn Voravootivat
2020-09-22 19:58                   ` Puthikorn Voravootivat
2020-09-22 21:30                   ` Lyude Paul
2020-09-22 21:30                     ` Lyude Paul
2020-09-22 21:30                     ` Lyude Paul
2020-09-24 23:46                     ` Kevin Chowski
2020-09-24 23:46                       ` Kevin Chowski
2020-09-24 23:46                       ` Kevin Chowski
2020-09-25 16:53                       ` Lyude Paul
2020-09-25 16:53                         ` Lyude Paul
2020-09-25 16:53                         ` Lyude Paul
2020-09-29 19:32                         ` Kevin Chowski
2020-09-29 19:32                           ` Kevin Chowski
2020-09-29 19:32                           ` Kevin Chowski
2020-09-30 20:25                           ` Lyude Paul
2020-09-30 20:25                             ` Lyude Paul
2020-09-30 20:25                             ` Lyude Paul
2020-09-30 21:07                             ` Lyude Paul
2020-09-30 21:07                               ` Lyude Paul
2020-09-30 21:07                               ` Lyude Paul
2020-09-17 18:01 ` Patchwork [this message]
2020-09-17 18:25 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2020-09-17 19:46 ` [Intel-gfx] ✗ 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=160036566887.14568.13069509486672920064@emeril.freedesktop.org \
    --to=patchwork@emeril.freedesktop.org \
    --cc=chowski@chromium.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /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.