Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4752455rdh; Wed, 29 Nov 2023 09:37:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IERtSOXzhiD0oT+lK5NvhVslB3ZmMYZzlKT0lxXkAfkA4RNFqs6/IoXs2K3UF9RXFPBrtqI X-Received: by 2002:a05:6a00:1486:b0:68f:bb02:fdf with SMTP id v6-20020a056a00148600b0068fbb020fdfmr24883503pfu.27.1701279462031; Wed, 29 Nov 2023 09:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701279462; cv=none; d=google.com; s=arc-20160816; b=0SdWZalASElJRPm9BTZ2JZ2aKZWjOF2QvWLIxlil0UoJx07Ve0hhyOLWX6NgAZLqGV Bm7wxxXYvXahfoqju16A3JAJLwyvk31ahCsmQf6ZaZqlaJHcJbKeN8UtYru2wLllth8S LWJS73S0LmoN6C/0c+e9Ia4Q+qKsmzcoXPYKbR/MwtN09cgm6lQwM1vcxkKkME2AKRrV F30qMLjwAzeZqinH0Q4CafRiOj5Aobh/IZHtww/q8OLeLTKKRdraAfKln+sSlDwnAEO5 7bsIDVjqsJ/qS1pG+YEZm+UXPtaTPIqDpWbj0Nxwh+V7Kog6639tnOBS0+O4cyomNFjV N8Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=un2pqzgXqiJEa07g1HptOb4P01cfdzdlVQihNRd8ix8=; fh=ar3NxC5QN3U/I+z8iBuWriOSmtZJf6NBPnSsowBb+PY=; b=hZPtsVboYXxVQmYY0RjZgQ1I0WKTGLlELB//Phxm0vFGurfDAv2IW6fQxCoetiDxXw ORx+HWlCLjW09Zk9X/ugpYTzSIqxRSLl5Nm2EmbkZaIBtMjYzyUcM87PeiSPNii0b2ZY on+o0SZHBZ1IUl2SsYBxTzkIydHCIrL57NQRTFquivKxIMejLODyuft9Zt1qiAgyGAE/ /ZEhrLa9RLJYnNV1K9I8Bejca5WMQrCsJl87ckt+whsjhyHvPZlOvKkM15xOF2v6TAvO 7kSuQ+L5wgVCm6WQdZBDoaIX0h1QkG/unY3/OgK4JjNrjOr1qoI+Ro8EkV9ZgE/P/Jqg tfSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Mi6w/xWp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z4-20020aa785c4000000b006cde1b8b490si225108pfn.168.2023.11.29.09.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:37:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Mi6w/xWp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8E111805745E; Wed, 29 Nov 2023 09:37:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231623AbjK2RhW (ORCPT + 99 others); Wed, 29 Nov 2023 12:37:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjK2RhV (ORCPT ); Wed, 29 Nov 2023 12:37:21 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6AE3C1 for ; Wed, 29 Nov 2023 09:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701279447; x=1732815447; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=un2pqzgXqiJEa07g1HptOb4P01cfdzdlVQihNRd8ix8=; b=Mi6w/xWpsm6EahzLuiy95Zac0KbSB2YpZ6piDZJ5mv27MC06nL0UrU7o lnnti/zg45uRzxtyknjjd8JKd28uoX8nvhhuJUtZQZYXjm8X+T8DT6NzQ nyFiqyeZuBbpoDeIDY6KCy1T5PyGzKAEpmQqTGmi0YwlK2kByLoYchlXq RrxJAJ17zgmwbMMvw+b8nR9UYSJn3NwMVdWsuj9W/K5vtUM63hDuS28Jj fVw+8YGOqa63NIoC53WZ5nZe4O3gOhbnns9hl+8JVU2OAulwp7n86OWz8 3ncR+J3Va5efdn18EmAS4h/ZfPqYayIfvz5E8PmpCEg3xnkNtma+xBrt4 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="390361314" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="390361314" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 09:37:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="942401674" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="942401674" Received: from dstavrak-mobl.ger.corp.intel.com (HELO localhost) ([10.252.60.61]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 09:37:20 -0800 From: Jani Nikula To: =?utf-8?B?5L2V5pWP57qi?= , "ville.syrjala" , "uma.shankar" Cc: airlied , "animesh.manna" , "ankit.k.nautiyal" , daniel , dri-devel , intel-gfx , "joonas.lahtinen" , linux-kernel , "rodrigo.vivi" , "tvrtko.ursulin" , kernel test robot Subject: Re: =?utf-8?B?5Zue5aSNOg==?= [PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit() In-Reply-To: <1lagfvi0ner-1laizr4ur2c@nsmail7.0.0--kylin--1> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <1lagfvi0ner-1laizr4ur2c@nsmail7.0.0--kylin--1> Date: Wed, 29 Nov 2023 19:37:17 +0200 Message-ID: <87cyvs5ulu.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 09:37:39 -0800 (PST) On Wed, 29 Nov 2023, =E4=BD=95=E6=95=8F=E7=BA=A2 wro= te: > Friendly ping. I think this patch was forgotten. Pushed, thanks for the patch. > > ---- > > =E4=B8=BB=E3=80=80=E9=A2=98=EF=BC=9A[PATCH v2] drm/i915: correct the inpu= t parameter on _intel_dsb_commit()=20 > =E6=97=A5=E3=80=80=E6=9C=9F=EF=BC=9A2023-11-14 10:43=20 > =E5=8F=91=E4=BB=B6=E4=BA=BA=EF=BC=9A=E4=BD=95=E6=95=8F=E7=BA=A2=20 > =E6=94=B6=E4=BB=B6=E4=BA=BA=EF=BC=9A=E4=BD=95=E6=95=8F=E7=BA=A2; > > Current, the dewake_scanline variable is defined as unsigned int, > an unsigned int variable that is always greater than or equal to 0. > when _intel_dsb_commit function is called by intel_dsb_commit function, > the dewake_scanline variable may have an int value. > So the dewake_scanline variable is necessary to defined as an int. > > Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency") > Reported-by: kernel test robot=20 > Closes: https://lore.kernel.org/oe-kbuild-all/202310052201.AnVbpgPr-lkp@i= ntel.com/ > Cc: Ville Syrj=C3=A4l=C3=A4=20 > Cc: Uma Shankar=20 > > Signed-off-by: heminhong=20 > --- > drivers/gpu/drm/i915/display/intel_dsb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i= 915/display/intel_dsb.c > index 78b6fe24dcd8..7fd6280c54a7 100644 > --- a/drivers/gpu/drm/i915/display/intel_dsb.c > +++ b/drivers/gpu/drm/i915/display/intel_dsb.c > @@ -340,7 +340,7 @@ static int intel_dsb_dewake_scanline(const struct int= el_crtc_state *crtc_state) > } > > static void _intel_dsb_commit(struct intel_dsb *dsb, u32 ctrl, > - unsigned int dewake_scanline) > + int dewake_scanline) > { > struct intel_crtc *crtc =3D dsb->crtc; > struct drm_i915_private *dev_priv =3D to_i915(crtc->base.dev); --=20 Jani Nikula, Intel