Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp241849rdb; Thu, 1 Feb 2024 07:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHK5UDD187JHeBzcZ6EsHbNA728Ap1Fmj1folZ0t6CJsmZm/PVvqqlT06nCYocrm0cTl/uQ X-Received: by 2002:a17:902:eccb:b0:1d8:b8df:79f4 with SMTP id a11-20020a170902eccb00b001d8b8df79f4mr6742535plh.17.1706800852510; Thu, 01 Feb 2024 07:20:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706800852; cv=pass; d=google.com; s=arc-20160816; b=mRIQEkSgGC4e1k/f1QJ6Kx4ZrJnfR7PPrfz80RmEumgDR1ib5Gu4hCUNwYw1M7gToD FIUOSx6CxurhXU0ceoP0le79VUR+f3AMwlvfBdWpIu7041GEiXU23x7j24y5xyv2jjsH KpHQ8bfOVRyB3iUeSP0kNukAUHd1HCnNMn0jOBvpymc8Nzr34mbAIPt+bXb5p91tGpTX SXRB24awFE3YcW9RxGV9GAHJ/IJHHuSvBCOJZW1r+X3Mx1jRHfyLhnFvGxjzFxCHGTad 29mXBnbzJ5hbWQPa4PkRLmsZtoIv28V8LQtFQx2wFd/5FihDhBPWzB+GDFiOlOmdBvs3 BvkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dcfSreLjudsgAcLBxrHGQStk7J9Wu7zu9S6tcciGw3s=; fh=mfdhqLtFXKA83LbBsdPSZ/zP5hBkqhdEnJoRpgZdyJo=; b=gGCvTCCyZ65WUVoYPyO2ky3T968gYWntswMyHByqTwBOtYr6CRmydkhMMI3hrXPbNh Nn7coqv8BCPiOz/hNF3JR3MaBeofZmzP6o0IYdjSSSh8DyQO4TDkU256VkoTqzjOQvch S7YpyMLHJ5nqYXQBiV8fI+seWZSwU+qB497GaF71iXbamvKE6IUpc0uRfwS4jpp/IaL+ 1AsnXxV80IvAkufPn6M8O8LD7F5s15Ao1GD0JgRcvEEgXgld2dReQjhi4N6vxmnxQg5D U+ialYeCFJ9QhigTeBQEI7wM2tWAU66erwK9HyvJ9X1BaKqEBjeCQKkMW/PjVDWqu1nt /hzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wa6Srib0; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-48346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=1; AJvYcCX/v1Bm+lvmjKxSRW9yJB4TN+iczFYnI9S/FutVZr81J4+7Jd0LXi96fspEBFmDJPUAwgsCcgubfQ46EjlSQ7j+TWzbyawhz2MvgtKjwQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u17-20020a170903125100b001d95fa9bf07si544438plh.428.2024.02.01.07.20.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 07:20:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wa6Srib0; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-48346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AA6B8B28C5C for ; Thu, 1 Feb 2024 14:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5954B5F494; Thu, 1 Feb 2024 14:59:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Wa6Srib0" Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD5545F46A for ; Thu, 1 Feb 2024 14:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706799541; cv=none; b=ShyUGumKcZeMpzfn9hA2IRzqWAV+NM/CehMC8U9VngNdjlRWkFo+GDcXajGu9lzAmtURGF1Zx+pfAmkeC/SiQZbAYWUGiMVFsSQnOaKSVP+sgNfHiMivB+oh0KH15MX4ywizAGygqibxIDVIhm3LB9X/SQqkKvvn6ZpF/6Lu24M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706799541; c=relaxed/simple; bh=kFAFaXm8F4EL8NoAc/dHToWhGFHEfq3FZcxMdR5p91M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f9qsQmXRHWlV7rG1f57p0gdlgCQ9WXtNKP87ky+7Z4/sSLRZ9RmoajxAGkKsMSCxOcOiKyTj0XXlZo0C44fCJcb95LObzX0ZdJLvTGRuQNi79T2lszhWYPip+FfeDVKMIALsOoIxlsS3VHhIkh4su3TJLB3mJ7o3Pw0jhTGlJyQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Wa6Srib0; arc=none smtp.client-ip=209.85.217.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-46b3359f5efso445191137.3 for ; Thu, 01 Feb 2024 06:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706799538; x=1707404338; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=dcfSreLjudsgAcLBxrHGQStk7J9Wu7zu9S6tcciGw3s=; b=Wa6Srib0ZYjswYkEyEi7ggfC9nWDk2zttnycI2SgNRbcz3wKfqH6W4xbsROqu8WCYM vM2bxgAI1U/Y4CcQwxSm38me4HlabzaDDDok/efUTSGeELtaYDI3fdn52rHCPl3H7LKv rHqjT5Q70q9PallkO+0sBGLp1FiWS4bdUN5+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706799538; x=1707404338; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dcfSreLjudsgAcLBxrHGQStk7J9Wu7zu9S6tcciGw3s=; b=Yq7cHwu6Y4sKSY49/Uu5+8cBDkgR/H/LzWVRc28xXRNfBs7TZ1hsO9DHn7NVziBgCx DFSbwSU8XOdCtwlWnb7bfMlbliVy/qnHrnugmIMPgqtdiCUXkjxzFtIMPwRRDlbyt33z ycJ/ODCHQ5ma2CGGz6O7VuYAiMRFM3BBaCbFeK4dddzAikFbMspgg9sgDLi7m38ynMnY UfNQ8G/jnc+/pp3oWfzoGU53fVi9L2oaTVIJI5YQU7IyaVaXl2JfU0sfxeju8rMqiF/K 84mp79fqT93GWCeq4gFlEx4dwmqe5CAaaue6e0jN5CCl2mX9Wl8ZOrh5o6CFL1vClNU6 TzAA== X-Gm-Message-State: AOJu0YxcwQHLsSCnagmnEzL72zhIbreYbZarvKrKn8quAr1tOoyMPEHh v4Dq830muFE5a1W8ViRotA06QCuv61woJ4nad+n7UKRnjCcEeRPZmg8pjzMt4w== X-Received: by 2002:a05:6102:38ca:b0:46c:fb56:da14 with SMTP id k10-20020a05610238ca00b0046cfb56da14mr317906vst.27.1706799538453; Thu, 01 Feb 2024 06:58:58 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUDNzybqhiDIFAWMTkOAJvtYTw95gE7f5EUK05c5fuaU1RHEYRz0Oo+LLeYfbUdv1T2N9Vla3ZfQWIoAtySjjrTHFhs7XlpXejn9TDQ+/ncVCGhPSteXf4G1MuAuAhyFTpey5p4PwL9puHamPSizEF80eNhITAEtnq3GZ6o+7xE6CTkvLcrOPQAFZDzA4A/fw70N4rOGFu2zyjkprAa2EpMWN81+lq9muFAuPJrMWpEPygDFi5muz642IdrxQ+4SNj9LxvdfDMbpmL9k4o9kPUIUJFcErK+gWHAUdp8xF6688tQ1Q/keqGMPjG5gF0P1OXLIhgElJ1pwFMyTiYeI9x1ApXMScFV9/RWDz0zF9xmv3mvz29jgZs+gCPDPrYT6aQVPTP+ISt8dhInVVafxHYlhDrBc6TZWqgLByjzN9YAcA== Received: from google.com (240.157.150.34.bc.googleusercontent.com. [34.150.157.240]) by smtp.gmail.com with ESMTPSA id dh14-20020ad458ce000000b0068c81299a2bsm242562qvb.15.2024.02.01.06.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 06:58:58 -0800 (PST) Date: Thu, 1 Feb 2024 14:58:56 +0000 From: Paz Zcharya To: Jani Nikula Cc: Jouni =?utf-8?B?SMO2Z2FuZGVy?= , Luca Coelho , Subrata Banik , Manasi Navare , Drew Davenport , Sean Paul , Marcin Wojtas , khaled.almahallawy@intel.com, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/i915/display: Include debugfs.h in intel_display_debugfs_params.c Message-ID: References: <20240131204658.795278-1-pazz@chromium.org> <87o7d0h73r.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87o7d0h73r.fsf@intel.com> On Thu, Feb 01, 2024 at 11:22:16AM +0200, Jani Nikula wrote: > On Wed, 31 Jan 2024, Paz Zcharya wrote: > > Commit 8015bee0bfec ("drm/i915/display: Add framework to add parameters > > specific to display") added the file intel_display_debugfs_params.c, > > which calls the functions "debugfs_create_{bool, ulong, str}" -- all of > > which are defined in . The missing inclusion of this > > header file is breaking the ChromeOS build -- add an explicit include > > to fix that. > > > > Thanks for the patch, apparently in our configs some paths lead to > debugfs.h. Just goes on to show how interdependent the kernel headers > are. > > Out of curiousity, what value do you have for CONFIG_DEBUG_FS kconfig? > > Fixes: 8015bee0bfec ("drm/i915/display: Add framework to add parameters specific to display") > Reviewed-by: Jani Nikula > > BR, > Jani. > Thank you so much for the super prompt reply! In ChromeOS the value is CONFIG_DEBUG_FS=y. Best, Paz > > > Signed-off-by: Paz Zcharya > > --- > > drivers/gpu/drm/i915/display/intel_display_debugfs_params.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c b/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c > > index b7e68eb62452..f35718748555 100644 > > --- a/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c > > +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs_params.c > > @@ -3,6 +3,7 @@ > > * Copyright © 2023 Intel Corporation > > */ > > > > +#include > > #include > > > > #include > > -- > Jani Nikula, Intel