From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83B8DC64E7C for ; Wed, 2 Dec 2020 16:52:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E2952053B for ; Wed, 2 Dec 2020 16:52:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E2952053B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=emeril.freedesktop.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CB8926EA5D; Wed, 2 Dec 2020 16:52:27 +0000 (UTC) Received: from emeril.freedesktop.org (emeril.freedesktop.org [IPv6:2610:10:20:722:a800:ff:feee:56cf]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C2D66EA35; Wed, 2 Dec 2020 16:52:26 +0000 (UTC) Received: from emeril.freedesktop.org (localhost [127.0.0.1]) by emeril.freedesktop.org (Postfix) with ESMTP id 81DFFA0BA8; Wed, 2 Dec 2020 16:52:26 +0000 (UTC) MIME-Version: 1.0 From: Patchwork To: "Ankit Nautiyal" Date: Wed, 02 Dec 2020 16:52:26 -0000 Message-ID: <160692794650.4089.17424181566606513697@emeril.freedesktop.org> X-Patchwork-Hint: ignore References: <20201202142405.14951-1-ankit.k.nautiyal@intel.com> In-Reply-To: <20201202142405.14951-1-ankit.k.nautiyal@intel.com> Subject: [Intel-gfx] =?utf-8?b?4pyXIEZpLkNJLkNIRUNLUEFUQ0g6IHdhcm5pbmcg?= =?utf-8?q?for_Add_support_for_DP-HDMI2=2E1_PCON_=28rev5=29?= X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: intel-gfx@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" == Series Details == Series: Add support for DP-HDMI2.1 PCON (rev5) URL : https://patchwork.freedesktop.org/series/82098/ State : warning == Summary == $ dim checkpatch origin/drm-tip c3aaa0e38802 drm/edid: Add additional HFVSDB fields for HDMI2.1 -:61: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: Swati Sharma ' != 'Signed-off-by: Sharma, Swati2 ' total: 0 errors, 1 warnings, 0 checks, 36 lines checked d7a2ff020913 drm/edid: Parse MAX_FRL field from HFVSDB block -:73: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #73: FILE: drivers/gpu/drm/drm_edid.c:4948: + drm_get_max_frl_rate(max_frl_rate, &hdmi->max_lanes, + &hdmi->max_frl_rate_per_lane); -:95: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: Swati Sharma ' != 'Signed-off-by: Sharma, Swati2 ' total: 0 errors, 1 warnings, 1 checks, 68 lines checked 2867339686a0 drm/edid: Parse DSC1.2 cap fields from HFVSDB block -:51: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #51: FILE: drivers/gpu/drm/drm_edid.c:4969: + drm_get_max_frl_rate(dsc_max_frl_rate, &hdmi_dsc->max_lanes, + &hdmi_dsc->max_frl_rate_per_lane); -:52: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #52: FILE: drivers/gpu/drm/drm_edid.c:4970: + hdmi_dsc->total_chunk_kbytes = hf_vsdb[13] & DRM_EDID_DSC_TOTAL_CHUNK_KBYTES; total: 0 errors, 1 warnings, 1 checks, 125 lines checked 283d699a8353 drm/dp_helper: Add Helpers for FRL Link Training support for DP-HDMI2.1 PCON 2e794b8a861e drm/dp_helper: Add support for link failure detection -:112: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #112: FILE: include/drm/drm_dp_helper.h:2066: +void drm_dp_pcon_hdmi_frl_link_error_count(struct drm_dp_aux *aux, + struct drm_connector *connector); total: 0 errors, 0 warnings, 1 checks, 76 lines checked 05d8a8269112 drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcon -:156: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #156: FILE: drivers/gpu/drm/drm_dp_helper.c:3070: + * */ -:176: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #176: FILE: drivers/gpu/drm/drm_dp_helper.c:3090: + * */ -:201: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #201: FILE: drivers/gpu/drm/drm_dp_helper.c:3115: + * */ total: 0 errors, 3 warnings, 0 checks, 337 lines checked 682582c890a5 drm/i915: Capture max frl rate for PCON in dfp cap structure -:14: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #14: -tweaked the comparison of target bw and pcon frl bw to avoid roundup errors. total: 0 errors, 1 warnings, 0 checks, 68 lines checked eab9db186ce4 drm/i915: Add support for starting FRL training for HDMI2.1 via PCON -:81: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #81: FILE: drivers/gpu/drm/i915/display/intel_dp.c:3997: +{ + -:142: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #142: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4058: + wait_for(is_active = drm_dp_pcon_is_frl_ready(&intel_dp->aux) == true, TIMEOUT_FRL_READY_MS); -:161: WARNING:LONG_LINE: line length of 112 exceeds 100 columns #161: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4077: + wait_for(is_active = drm_dp_pcon_hdmi_link_active(&intel_dp->aux) == true, TIMEOUT_HDMI_LINK_ACTIVE_MS); -:167: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #167: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4083: + if (DP_PCON_HDMI_MODE_FRL != drm_dp_pcon_hdmi_link_mode(&intel_dp->aux, &frl_trained_mask)) { -:167: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test #167: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4083: + if (DP_PCON_HDMI_MODE_FRL != drm_dp_pcon_hdmi_link_mode(&intel_dp->aux, &frl_trained_mask)) { -:171: WARNING:LONG_LINE: line length of 109 exceeds 100 columns #171: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4087: + drm_dbg(&i915->drm, "MAX_FRL_MASK = %u, FRL_TRAINED_MASK = %u\n", max_frl_bw_mask, frl_trained_mask); total: 0 errors, 5 warnings, 1 checks, 218 lines checked 8a076543ec1e drm/i915: Check for FRL training before DP Link training c56f7e08609d drm/i915: Add support for enabling link status and recovery -:51: WARNING:LONG_LINE: line length of 107 exceeds 100 columns #51: FILE: drivers/gpu/drm/i915/display/intel_dp.c:6047: + drm_dp_pcon_hdmi_frl_link_error_count(&intel_dp->aux, &intel_dp->attached_connector->base); -:64: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 24) #64: FILE: drivers/gpu/drm/i915/display/intel_dp.c:6060: + if (ret < 0 || mode != DP_PCON_HDMI_MODE_TMDS) + drm_dbg(&dev_priv->drm, "Issue with PCON, cannot set TMDS mode\n"); total: 0 errors, 2 warnings, 0 checks, 98 lines checked 0cd8341809f4 drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder -:51: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #51: FILE: drivers/gpu/drm/i915/display/intel_dp.c:3992: + if (drm_dp_dpcd_read(&intel_dp->aux, DP_PCON_DSC_ENCODER, + intel_dp->pcon_dsc_dpcd, -:57: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #57: FILE: drivers/gpu/drm/i915/display/intel_dp.c:3998: + drm_dbg_kms(&i915->drm, "PCON ENCODER DSC DPCD: %*ph\n", + (int)sizeof(intel_dp->pcon_dsc_dpcd), intel_dp->pcon_dsc_dpcd); total: 0 errors, 0 warnings, 2 checks, 39 lines checked 80d1e20363ed drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1 -:56: WARNING:TYPO_SPELLING: 'capabilites' may be misspelled - perhaps 'capabilities'? #56: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3458: + * and dsc decoder capabilites -:142: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #142: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3544: + if (min_slices <= 1 && src_max_slices >= 1 && hdmi_max_slices >= 1) + target_slices = 1; -:144: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #144: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3546: + else if (min_slices <= 2 && src_max_slices >= 2 && hdmi_max_slices >= 2) + target_slices = 2; -:146: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #146: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3548: + else if (min_slices <= 4 && src_max_slices >= 4 && hdmi_max_slices >= 4) + target_slices = 4; -:148: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #148: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3550: + else if (min_slices <= 8 && src_max_slices >= 8 && hdmi_max_slices >= 8) + target_slices = 8; -:150: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #150: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3552: + else if (min_slices <= 12 && src_max_slices >= 12 && hdmi_max_slices >= 12) + target_slices = 12; -:152: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #152: FILE: drivers/gpu/drm/i915/display/intel_hdmi.c:3554: + else if (min_slices <= 16 && src_max_slices >= 16 && hdmi_max_slices >= 16) + target_slices = 16; total: 0 errors, 7 warnings, 0 checks, 248 lines checked 4a2be9786855 drm/i915/display: Configure PCON for DSC1.1 to DSC1.2 encoding -:70: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #70: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4185: +{ + -:87: CHECK:LINE_SPACING: Please don't use multiple blank lines #87: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4202: + + -:150: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #150: FILE: drivers/gpu/drm/i915/display/intel_dp.c:4265: + bits_per_pixel = intel_dp_pcon_dsc_enc_bpp(intel_dp, crtc_state, + num_slices, slice_width); total: 0 errors, 0 warnings, 3 checks, 156 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx