Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1223132rbb; Mon, 26 Feb 2024 02:45:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMYki1X+zq+bWd04KfrQhyk0MXZmZnuJv6CCN9qCi5juoCcz5nlTIc00ZD6ZifTJ5vZpL5Sdpm/U6j/WCF4lkC7YDp166F9AoI6vZF6w== X-Google-Smtp-Source: AGHT+IHKH23JRA84ryD/4aLZ0Lmx3NYWV+wYNyAvW6QDF7DKItBh11m5nsXENHyMRrac8dth+oZ2 X-Received: by 2002:a17:906:c34b:b0:a42:f194:9cd6 with SMTP id ci11-20020a170906c34b00b00a42f1949cd6mr3704763ejb.7.1708944353743; Mon, 26 Feb 2024 02:45:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708944353; cv=pass; d=google.com; s=arc-20160816; b=Y4r/O7qiUmRx3glLnj+BBZq1sN2vSimsReR+CwEqq5h5eZQCrMruvB3JK7wcaWMKUY 2RVQPVBEIf4syYvNT2i00o2g7LJ5HM9fgdEkJMMdBDqdsP9OQzfWBOWcLBwhzi5NLP14 UV0yfTipIRURk3cg9KhEZ+aJiIyG9gKH87AHrpkMzHKVRZQqtPnqFNVEdtugW69R6rtW BbAOncDtiTCuwsJepr2EIznorKOTc1/xNu9UwDmrHhOqdH2x1SXmctWb2yEb6hyuxRia eRHdRmXJWB/IAzInqQBy+vdj4KnhhZd3kq3kxV3G/MdjQzX9/raZ9AItrLbym8MJzjtE tBxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gZztgXP/XSLJSI+YL5JFai2EuuNwO+NB7lZeeMFJEPQ=; fh=AcSaWiqzzRrpTVQ8kGAT+XhY2JFjcCrR2lFcsudDr3Y=; b=DwMi+Jov51W9bzVgp4CUcl148H0sogGfd6ikhL9dQ3o7Kgenu0vQXlcscWgeQIQohl 0tkq9sZnrf+F1kRi6Okeq52hClI0g8J2pP9JvMTCCKk5hNaOl5RczxaEQKpb+PoVZ37F 2GlXyeJVK3Mupo9/CfaOZv6Ikx2QZAvQR0vvFVl3kcGhS/GhxyQqTyyeBgXQCObgbZci trZHX0XRV36I3qm2IE8sduQZREAfZvejQNfic3p11gi9DP4hHV6E86SJU+n7a/isHbJ4 2mcHUIqv8EAg3k01endXEO+s7FL8mXyhNVJ2X8t51LIUVZqBkBOQT+ceh065xtk7PF5a AFeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="WP/aWXGj"; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-81181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81181-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id du15-20020a17090772cf00b00a4309b412acsi1590017ejc.611.2024.02.26.02.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:45:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="WP/aWXGj"; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-81181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81181-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 822421F25CE2 for ; Mon, 26 Feb 2024 10:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B50F1D53D; Mon, 26 Feb 2024 10:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="WP/aWXGj" Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADD301C6B5; Mon, 26 Feb 2024 10:43:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944209; cv=none; b=Ll2eo42/Aed18WyqEzrfkjrGo4SfanXcjAi3pfmJtBJOWKZtQnh0pBINk8RoqrIRA7cM7WnbQLL5vnMb0txFj+nKEjeiPtLdsxdXYdfCrJJ6wPYj8jMjzP2vlKVkIT792fgeh+TzniYzPRrnGaS+TKBXAdcOmefHpTgANf1ar60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944209; c=relaxed/simple; bh=X8rA+Y7JGOMlvSPtBpSwR4vCKw6Q7thAMVdleZdif9k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Cqq50B+mG6i//ygsAvCJtZBN9+vq/Gb2rb0nlhVbcTTd+XV4bdUMYHAmWCw+a9Cye/LkOP+i0x7PWI1kqexFGkSIGlf7xn9F0FSSOeniE6aEAAsHGcT2TpVqdubeWn/oxvujWIzTG0V+8fqp6P6p+WJ8HBq7iqJ07ict2Prk8z8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=WP/aWXGj; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gZztgXP/XSLJSI+YL5JFai2EuuNwO+NB7lZeeMFJEPQ=; b=WP/aWXGjWHvv7r+76mUvjC+pNG Si+HOXvuTb++8b/QJahf1MKBLR9QPxkDIkH8wozJPUWSv629/vmwalEISB2FUf+227amdVqJfPDim bkWNliZ8viS+J2xAVmaN6dIRm9gb7ERyqyJSzIy52YIqDoqpRJtW2mdq89vGagLGJvWy1LvpPJQw9 gTYpLLaUxpDsGysaVb1HT17ZDQIHmWeFoNFSuFB952jU/Lxd8tRgwQwW7mbXZaJcmj+ulCA1HOjhZ LIb00js8kAwls6kMQu/8KDwI5Va7opouVigUWCcKPHnOwqE9Akv7IlJgrFVspx3EMQIeb+UkTCNH/ cbdN8SKg==; Received: from [177.34.169.255] (helo=[192.168.0.139]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1reYRV-003X0t-2A; Mon, 26 Feb 2024 11:42:41 +0100 Message-ID: Date: Mon, 26 Feb 2024 07:42:31 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 01/36] drm/tests: helpers: Include missing drm_drv header Content-Language: en-US To: Maxime Ripard , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonathan Corbet , Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Hans Verkuil , Sebastian Wick , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev References: <20240222-kms-hdmi-connector-state-v7-0-8f4af575fce2@kernel.org> <20240222-kms-hdmi-connector-state-v7-1-8f4af575fce2@kernel.org> From: =?UTF-8?Q?Ma=C3=ADra_Canal?= Autocrypt: addr=mcanal@igalia.com; keydata= xjMEZIsaeRYJKwYBBAHaRw8BAQdAGU6aY8oojw61KS5rGGMrlcilFqR6p6ID45IZ6ovX0h3N H01haXJhIENhbmFsIDxtY2FuYWxAaWdhbGlhLmNvbT7CjwQTFggANxYhBDMCqFtIvFKVRJZQ hDSPnHLaGFVuBQJkixp5BQkFo5qAAhsDBAsJCAcFFQgJCgsFFgIDAQAACgkQNI+cctoYVW5u GAEAwpaC5rI3wD8zqETKwGVoXd6+AbmGfZuVD40xepy7z/8BAM5w95/oyPsHUqOsg/xUTlNp rlbhA+WWoaOXA3XgR+wCzjgEZIsaeRIKKwYBBAGXVQEFAQEHQGoOK0jgh0IorMAacx6WUUWb s3RLiJYWUU6iNrk5wWUbAwEIB8J+BBgWCAAmFiEEMwKoW0i8UpVEllCENI+cctoYVW4FAmSL GnkFCQWjmoACGwwACgkQNI+cctoYVW6cqwD/Q9R98msvkhgRvi18fzUPFDwwogn+F+gQJJ6o pwpgFkAA/R2zOfla3IT6G3SBoV5ucdpdCpnIXFpQLbmfHK7dXsAC In-Reply-To: <20240222-kms-hdmi-connector-state-v7-1-8f4af575fce2@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/22/24 15:13, Maxime Ripard wrote: > We have a few functions declared in our kunit helpers header, some of > them dereferencing the struct drm_driver. > > However, we don't include the drm_drv.h header file defining that > structure, leading to compilation errors if we don't include both > headers. > > Fixes: d98780310719 ("drm/tests: helpers: Allow to pass a custom drm_driver") > Signed-off-by: Maxime Ripard Reviewed-by: Maíra Canal Best Regards, - Maíra > --- > include/drm/drm_kunit_helpers.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h > index ba483c87f0e7..3ae19892229d 100644 > --- a/include/drm/drm_kunit_helpers.h > +++ b/include/drm/drm_kunit_helpers.h > @@ -3,6 +3,8 @@ > #ifndef DRM_KUNIT_HELPERS_H_ > #define DRM_KUNIT_HELPERS_H_ > > +#include > + > #include > > #include >