Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp985828rdb; Fri, 9 Feb 2024 07:07:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOoUsnoogEbiOWTOv/1IJFFA0+I9EbYIDPP6cPy857NlO6dCRQHKg2py4XMsYtpT9/lN0h X-Received: by 2002:a05:622a:250:b0:42c:4a98:5ddc with SMTP id c16-20020a05622a025000b0042c4a985ddcmr1999331qtx.6.1707491228332; Fri, 09 Feb 2024 07:07:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707491228; cv=pass; d=google.com; s=arc-20160816; b=i+Hr1Bh8DPUdniGckUez4vqHJJkYCyTTr0IhAYKJxw1qpkzc9U+6JlcrfZE7dtMRz0 VGwD7vrc1kd0Dh+DvoXvn4ApBUP8rzYnTuWYIldGhI45kEr1yEbzDYWhJ1NDCUWpDljO ZgAkitetHk25a7yH+lD7oKprohOwigLEjwEwB/LJM91S/LE732ZwUfPNlOwDYUgTlhZM XRqA510Pb1970n9K72GBiNYjLfnCavHyo7Yzac61rYr1XPTjA39Xj/m1URsg5OAwhJym 4aWKOC5sRRBnBxIVuJKXqVnxRDAeA3YBoe12gco/T8SbpF6wpySFtCrMZtHI8/SzX5M6 G2JA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=/BQql4Yaq50xK4kUm+qiKQmwq6ZWN2QtKeI21wSPujM=; fh=ggYZ1eXUlP/lt0MciUwUA0pj2RynlWGnQBDNhN/iiXw=; b=OTVKTdGFjjrov9Uulrjy7Rr5Gmt7kj6Ut8QVTXaOhfp++DsPkEh9GdY6ybV27UWzRR fHzL7HLZF+cfLowKHAbGZEvpZcZsPjcsHeRDgaRMk4X+QsF3gHHKz5EUdBoJwg5dOO1K yA/H+vheYj6TFNUkFw1WQb3tn8eCidbnLxMvyyW9dFOei7zV6Ndkk3LTsuE0KhTidCHv XSbjedG8MmTAxCNoD8lZII+tmJ2KFc4eZFmmZSqmOJgQK0HiXMkmdk+L4H9TWaXTzCY+ muzcyv3pdX1MVD7OUiSIClBMoV0ujT+ZqZOtX3qOFaz4PY+7subNWoFzfHhNe+eCjlDL qq5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ikePjpCI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-59505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCUNi6i+0HM1HSkjJrXvd7UiBuTbSir9OLQztUfWSWA9o9M0kyOSAV+BSXUHs/zJ9W/P43Ifnw3qpRzblnzqlgLK8LCKZ85ov4qqExB0hg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g16-20020ac87d10000000b0042c45717fefsi2007262qtb.242.2024.02.09.07.07.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:07:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ikePjpCI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-59505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C93D41C210D9 for ; Fri, 9 Feb 2024 15:07:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B1A86D1D2; Fri, 9 Feb 2024 15:07:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ikePjpCI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 B782D2E3F9 for ; Fri, 9 Feb 2024 15:07:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491222; cv=none; b=DHTwKVdB5d05F4lO+YIpggslhtWpZxlLvO3KJzn2EZHgER6gnoMYiHhS09Jzy2nh9Z3/09YuI0redFSuAWLFx0eRN6aXrLgpbHKwWbNd3/54imKGUmgHojNOuO1KKKkh7P/QBLRy845SEeBmIiNRsYYQMcThgt/ja4siqzBdll4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491222; c=relaxed/simple; bh=yepMO4u59E++4QW9Rxe1Tub7oqWimXxD0lt0roVEjXE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=CTDKAYq9eR4vW6OGemC8KEWDgUcdp2U2dMXQgRVK6nJmgWNoFFOei7dFPnsFWC904aT4F9EQGtL3pjHusNnSklDf9aPcJ78jOVg0sDDC34hkehFePkVnqmFO/IrYXDl3qihlIT8YRPlP2PZPEpxP3ONCqVgi6mlZf71kHA5BV4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ikePjpCI; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707491221; x=1739027221; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=yepMO4u59E++4QW9Rxe1Tub7oqWimXxD0lt0roVEjXE=; b=ikePjpCILbXKTbIkEwGNuE3zSi6fTG+ioVHPHuFX+Ktqs7LS5X6jQ1Dl iy/G+3RCTQhync2DXKAU87QsEhJXWPJdQ7ZNgGDOwRWg1InTk9F0l8l4h qMiNcC8pvLM/OfJPbq2qg+y3MYJECG4lj7xODYUk5aUxWWECu1W/mifbX p7maRYSvI3+mj9c0D752QhuPmJhC8C6jEf+EpQJjzdHnCGwg7YtVRHOvm qB+X9PwtJDPh6U+EGSJtgJao/rm9lHTfdDU/UKrs3vvqrSerTMrCwMq+j JkaipY6G2+a6hWc7qe/Bame/nnUay5NcX9TNZQRzFZAiRFXMn7f/kvnQY A==; X-IronPort-AV: E=McAfee;i="6600,9927,10979"; a="1595451" X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="1595451" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 07:07:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="1956543" Received: from dfischbe-mobl.ger.corp.intel.com (HELO localhost) ([10.252.62.64]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 07:06:56 -0800 From: Jani Nikula To: =?utf-8?Q?Micha=C5=82?= Winiarski , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Luca Coelho , =?utf-8?Q?Micha=C5=82?= Winiarski Subject: Re: [PATCH] drm/tests: mm: Convert to drm_dbg_printer In-Reply-To: <20240209140818.106685-1-michal.winiarski@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240209140818.106685-1-michal.winiarski@intel.com> Date: Fri, 09 Feb 2024 17:06:53 +0200 Message-ID: <87o7cpad82.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-Transfer-Encoding: quoted-printable On Fri, 09 Feb 2024, Micha=C5=82 Winiarski wro= te: > Fix one of the tests in drm_mm that was not converted prior to > drm_debug_printer removal, causing tests build failure. My bad, thanks for fixing this. Reviewed-by: Jani Nikula For one thing, I must not have git grep'd for new drm_debug_printer() additions since I wrote the patch. For another, I'm missing some kernel config, because I built the changes on x86, arm and arm64 before pushing. In particular the arm and arm64 configs I just recently added from drm-rerere repo. Those defconfigs should probably be updated. They don't have CONFIG_DRM_XE=3Dm either. BR, Jani. > > Fixes: e154c4fc7bf2d ("drm: remove drm_debug_printer in favor of drm_dbg_= printer") > Signed-off-by: Micha=C5=82 Winiarski > --- > drivers/gpu/drm/tests/drm_mm_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tests/drm_mm_test.c b/drivers/gpu/drm/tests/= drm_mm_test.c > index 1eb0c304f9607..3488d930e3a38 100644 > --- a/drivers/gpu/drm/tests/drm_mm_test.c > +++ b/drivers/gpu/drm/tests/drm_mm_test.c > @@ -188,7 +188,7 @@ static void drm_test_mm_init(struct kunit *test) >=20=20 > static void drm_test_mm_debug(struct kunit *test) > { > - struct drm_printer p =3D drm_debug_printer(test->name); > + struct drm_printer p =3D drm_dbg_printer(NULL, DRM_UT_CORE, test->name); > struct drm_mm mm; > struct drm_mm_node nodes[2]; --=20 Jani Nikula, Intel