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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 531EAC4829E for ; Thu, 15 Feb 2024 14:53:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C803610E91E; Thu, 15 Feb 2024 14:53:09 +0000 (UTC) Received: from 8e613ede5ea5 (emeril.freedesktop.org [131.252.210.167]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2075910E91E; Thu, 15 Feb 2024 14:53:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: =?utf-8?q?=E2=9C=97_Fi=2ECI=2ECHECKPATCH=3A_warning_for_Disable_automatic_lo?= =?utf-8?q?ad_CCS_load_balancing?= From: Patchwork To: "Andi Shyti" Cc: intel-gfx@lists.freedesktop.org Date: Thu, 15 Feb 2024 14:53:08 -0000 Message-ID: <170800878813.925.12593588166603557542@8e613ede5ea5> X-Patchwork-Hint: ignore References: <20240215135924.51705-1-andi.shyti@linux.intel.com> In-Reply-To: <20240215135924.51705-1-andi.shyti@linux.intel.com> 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 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" == Series Details == Series: Disable automatic load CCS load balancing URL : https://patchwork.freedesktop.org/series/129951/ State : warning == Summary == Error: dim checkpatch failed 36e5f8a455e7 drm/i915/gt: Disable HW load balancing for CCS f1bfa29b3219 drm/i915/gt: Set default CCS mode '1' -:80: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #80: FILE: drivers/gpu/drm/i915/i915_drv.h:409: +#define for_each_available_uabi_engine(engine__, i915__) \ + for_each_uabi_engine(engine__, i915__) \ + if ((IS_DG2(i915__)) && \ + ((engine__)->uabi_class == I915_ENGINE_CLASS_COMPUTE) && \ + ((engine__)->uabi_instance)) { } \ + else -:80: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'engine__' - possible side-effects? #80: FILE: drivers/gpu/drm/i915/i915_drv.h:409: +#define for_each_available_uabi_engine(engine__, i915__) \ + for_each_uabi_engine(engine__, i915__) \ + if ((IS_DG2(i915__)) && \ + ((engine__)->uabi_class == I915_ENGINE_CLASS_COMPUTE) && \ + ((engine__)->uabi_instance)) { } \ + else -:80: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915__' - possible side-effects? #80: FILE: drivers/gpu/drm/i915/i915_drv.h:409: +#define for_each_available_uabi_engine(engine__, i915__) \ + for_each_uabi_engine(engine__, i915__) \ + if ((IS_DG2(i915__)) && \ + ((engine__)->uabi_class == I915_ENGINE_CLASS_COMPUTE) && \ + ((engine__)->uabi_instance)) { } \ + else -:82: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #82: FILE: drivers/gpu/drm/i915/i915_drv.h:411: + if ((IS_DG2(i915__)) && \ [...] + ((engine__)->uabi_instance)) { } \ -:98: CHECK:LINE_SPACING: Please don't use multiple blank lines #98: FILE: drivers/gpu/drm/i915/i915_query.c:127: + total: 2 errors, 0 warnings, 3 checks, 77 lines checked