Message ID | 20240209140818.106685-1-michal.winiarski@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-59413-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp875683dyd; Fri, 9 Feb 2024 06:08:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBWUtm4hIat+pRgCCAu5kwVRBG7SkMaIKlVFbN9nYxjHNqnL+xd1NiaKZDgF0C91Mq2Qfh X-Received: by 2002:aa7:df10:0:b0:55f:fba9:dd17 with SMTP id c16-20020aa7df10000000b0055ffba9dd17mr1378136edy.9.1707487733770; Fri, 09 Feb 2024 06:08:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJZu1vDGy2/FrkoCV93yulAbdDHVPYfJc5ho9MLKMZe9RnNy513pk0O28IWVaBx23KF8/RwhdgRHaWTfFl1p4ndL+SXA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dn4-20020a05640222e400b00561282f081dsi925020edb.451.2024.02.09.06.08.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 06:08:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59413-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RX4upDDb; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-59413-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59413-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 362D51F24DE0 for <ouuuleilei@gmail.com>; Fri, 9 Feb 2024 14:08:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1003469308; Fri, 9 Feb 2024 14:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RX4upDDb" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 CD48765BC6 for <linux-kernel@vger.kernel.org>; Fri, 9 Feb 2024 14:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.11 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707487716; cv=fail; b=KWA8F4ewYovaVfC+RC/Qw6v7mGv8k1Pz8MtPiYG2eYbsBqtRHxqmbl51pZLjl+o9eDDFKjRFB1gQgeKxTmAIOxqfhIdb4NJ+i0rlBJcvcKmmARAOk6BKRlVsI2U2Gm5xwOw66ZHHYyf95oM9KGeDqVeT0mbaco+dt7ZoDTMlSDk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707487716; c=relaxed/simple; bh=zXekn73AeqhUKvpHC4Vl6vRPBq0O3p/BafQFOQQO63Y=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=lgRR5T+87wwzEaaezQpPK/Zz3Hy1DzAfmbG2RfPtT4zX+ck5H4K+Klj48txMbuGajz98vPIzL5QDPtotqe8FB8hRwT1fpoL/Y3ZdyhEnAV62ozv5hTkL+Ybc7SD/Oi5BWv/rlL8cF8dgrksfGkR+9Guy1PEXD/7cJWKDn49C6Nw= ARC-Authentication-Results: i=2; 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=RX4upDDb; arc=fail smtp.client-ip=192.198.163.11 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=1707487715; x=1739023715; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=zXekn73AeqhUKvpHC4Vl6vRPBq0O3p/BafQFOQQO63Y=; b=RX4upDDbj/XDdmOstIpRt1BhCRrkQVmucpbcQ9dC/j1gySd2gQDk2wSj V7Q2sgz8x0tOu/vVqPqvdKVwvqp5I+ORYIiuyVCKGJXrh59Tiqw2rfN6C PxeTGQetWWHK/Bi6GaVOCqgZE54wmDbogFsC8mQoXiLQ5R3PHZX89kYPK R7HP8E/xDVfYb6k+ILMbAb4xM9UfFisIO8mTtgfxPHA2vGgVCN3lwkCFH wzjWlqq7XxoA1sKtAvAa03Jcc7QVrkzwRW6D+XZvdiQYBCsn4+e8+8jHT eauhHH7NzGay4W9Y7Hb2ekrdv4BArjbGbf7WXsyMA8ZWlt03ggwhkU72B w==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="12081230" X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="12081230" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 06:08:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="934432885" X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="934432885" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Feb 2024 06:08:33 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 9 Feb 2024 06:08:33 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 9 Feb 2024 06:08:32 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 9 Feb 2024 06:08:32 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 9 Feb 2024 06:08:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FNBAfoem0YqlTdfSLmkLOPkIh2MFM5H8IlfBrDzWMVW6DK7IlL/W5PBpoOEwqXzUit3sH0LBT/RRLxhK31Ehu6HcU42hnFLRzyX+rM973Tr86stV0IbcsbICLP7iqjvQloEQGe6I3p//DKjX6CIfq84EH5qZ4J3Re6HHB/8eOQmE0Opo6BxRZ2VkczvBiQ+vcT4Q9DmVnvwwur5q2102kJij9XKgPHhvvAZKom5tBFeoMSEkpnf90qS/2rgUeU6hWpHX6bVNeJSbDgnnbdTJmAT3lC5KCSCczCAwZs0RooV0aNkyaaHxh5MA4ItOaBoyfOmoSznudd4gA+f3/tW2Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PVh54wBMadB8xQHnD4RxZN2DI5bFjDm8tzv9WMEWmOU=; b=DokJv6VyPelyXXdpOkuwMsk8z0i8Y+3+gVaKUZoEdbB+vkKaV1LV5Umq6UgOUXwqHJ1CeDnMLiW1hBVQfdEVHEYl85UL5Av+G35FqBu6uT+CWDSOSEHlUOs2sLpcy0w2N9iuy5FQ+EXgdg+iYVd1ZNOCRSLNCwTfAHoJ9n3Dp8r+/hIis2HDuA36esZ8a31ubvJmUs1+k1RGCFvGQV6+RKvgMQ3tU4NeyoanVstUBCmzoBM/WvM7mUrrw1a2HQ/+bE+IMcoc3uEbbSS9Zxn4RyPKbK3rPNzz9uQDZvnVd3u9wYe6aOSVFD7sEyorCHMC8LT7BITGzUJ4YVN93mUjSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB5373.namprd11.prod.outlook.com (2603:10b6:5:394::7) by DM3PR11MB8669.namprd11.prod.outlook.com (2603:10b6:0:14::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.38; Fri, 9 Feb 2024 14:08:30 +0000 Received: from DM4PR11MB5373.namprd11.prod.outlook.com ([fe80::a818:a5e:b1b1:511]) by DM4PR11MB5373.namprd11.prod.outlook.com ([fe80::a818:a5e:b1b1:511%4]) with mapi id 15.20.7270.024; Fri, 9 Feb 2024 14:08:29 +0000 From: =?utf-8?q?Micha=C5=82_Winiarski?= <michal.winiarski@intel.com> To: <dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org> CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Jani Nikula <jani.nikula@intel.com>, Luca Coelho <luciano.coelho@intel.com>, =?utf-8?q?Micha=C5=82_Winiarski?= <michal.winiarski@intel.com> Subject: [PATCH] drm/tests: mm: Convert to drm_dbg_printer Date: Fri, 9 Feb 2024 15:08:18 +0100 Message-ID: <20240209140818.106685-1-michal.winiarski@intel.com> X-Mailer: git-send-email 2.43.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR2P281CA0146.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:98::7) To DM4PR11MB5373.namprd11.prod.outlook.com (2603:10b6:5:394::7) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB5373:EE_|DM3PR11MB8669:EE_ X-MS-Office365-Filtering-Correlation-Id: c26bd27b-9afe-470c-3114-08dc297897b5 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8Snb9XqjRQDgo67Jfk3lYU3+ZQkyzhU0WCVCBqzJBq6snm27IcW4rRaeJcgXTLOIdP5mJVVkrQIaoQ3htvwQDbe/SVgGknTDwh4BIWVc/MnkEfrtpLEmtMghDVOYtsIpshf5aAYYTY7D5xxX5pMDFhH4PRIddr6ChvIk6gTFWqaHVj/X72OUzhuXF00ThxQmI7TN1UT4qddIcmqChYzf2hPrnWbPz07h3XnPNBddj0vA1JhyeCOaZwmzaHanJyMO072Iv8l55AEKm23H0MgFkP49GUbzrHlAQG+IZaoNx7CrINwNq+R9pViESb23UX6Y7+KIDIEfD1bFAJGiu9hQklsgcIWbbFosFOtyuNP1JOVutqKVNm78VtSJCOyD8iLcnhT2ldWNvOIg9T+gZWdpxmnKkzGf4jFvdr5zncraEvKgVyMKpz23rG9Jqx/ozgU/GS+iig61R+73Ipy9O6NapD08O+OQmOZpmDAxgr+g8Epv/8LBiPbc1H5GGKRrJlowoE5ZGMni/kjvI1sKnxaiTx6gVi77tMtweZpCDqzfDzM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR11MB5373.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(396003)(346002)(39850400004)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(41300700001)(6512007)(66476007)(36756003)(6486002)(54906003)(6506007)(478600001)(6666004)(316002)(4326008)(8676002)(38100700002)(66946007)(8936002)(66556008)(82960400001)(1076003)(26005)(86362001)(83380400001)(2616005)(4744005)(5660300002)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?RlvI9ntddTULC/9M/a5OQwEW2FJI?= =?utf-8?q?yTyIWWN5j2DVvhNICS90T6sy3DnA1VlM/gR0x5+lRqQHvMiRrdgWIMm2Mf9thgxYf?= =?utf-8?q?QDMwKbDViXSGmSh0O2K9wVNcrPPD9gmdC5csJ4dOdPbB9VrmhvrFEOzBHJ63MsGSW?= =?utf-8?q?/5cGq+D36ldJgeyHjQG0h/jcHJ/7cCkOvs0M/hce83JeB4peA2PlrgMLa9mEZZBpq?= =?utf-8?q?JunEW0hXZ5JtkuAW16TmLOU/k/K7SNDU+zFJ4ekvQ2x9QSFklUjSaTwFsXyhoHkm0?= =?utf-8?q?w8dnOUnkf486/nqui6vaJktitb0IqI2T+iEagzwbdZ5c0x7Rmo9wxO8pGPZijkCXR?= =?utf-8?q?CM3bWzQvW+GOOLOVQd+erH8gl/mFI+Lb3fpFSpFLPFN9gVzUivwzHizUfbAc+UW6a?= =?utf-8?q?jQeBsq7V9SnGFEF6Djw/TQSQimVNZmPW7SNVkzUHyQTXWVcpmzeeaxkch6Vp19YgX?= =?utf-8?q?Ods7eWeVaWH1U+XZuujyf0ho2D/v6rLIGAZZb754bahC1qavuxNb5qcvxOcPHPgO4?= =?utf-8?q?1IcZYlKW2GVXJLitruBHIs2z6yH/cX1XomoElIYt1dnX91HBNkINbDSlVBho/eX14?= =?utf-8?q?x1tAgBsdEf/1jSlRI1hUIUSTzeMLgdm7IAa6lI+zgTSmJA4XVWGVgJG8yutEqNj0m?= =?utf-8?q?8tTbfpMB4cD8mbwqZflpR7Q9Ol+ejzGKzuzbZV/IitQPW3wyMibz153A0NXR2URB/?= =?utf-8?q?Da9hMPC8NYa+ZmsvaIOPAecVeVRR4kHbGRLunqnzuJlLa740tHNCvhwGsnMF2d+qB?= =?utf-8?q?Do5P7U40K7Vcn9uAyWwqf597vNtQlz4pVdPHdr5UVqQAyP6qvlo2an+dTnP1psjg6?= =?utf-8?q?kwJDqym02REWwrHDtBwyvkkuSTFvruVETopVJY8SKLvkmNtBb8S2UPUh/ro1zlpeL?= =?utf-8?q?8JC/eyvKmZl5ibWjEIwMz336jfPKzZVTVZNpfhtsL6jx90z56hdvtnA3WAfchLDEz?= =?utf-8?q?t22TLOa/Y7A7qIHfF6B9tLR9zNv2KAj6AwgPbbKMOlQjzkB5j+pkiOPxqbZpXNigl?= =?utf-8?q?EgAe6AUMkSEiHLxWp50dxkdtYJHSRexNxYbwIMYIzEjuLmU2WEEPcvIXyAS5zzGc+?= =?utf-8?q?6THb61mvAoc5mAUbs71cGhIL/cJs9SStClolXnl4EJu/GdXRTV6GaLTLdECNKDTWW?= =?utf-8?q?0MJVidbVTXaNUWk52CYNiNUX0dMIbkjhEI25dkfGTXeujaUxSlDb+T6VGohwmdSRS?= =?utf-8?q?wswbFORh9/yY20ex0ItICWrDjGljz0zecxwaH3/4UKC2RTo/XQiCkwAIBtikmhyvD?= =?utf-8?q?5WH/AVwXOhGDaT0RBbxEhR8DuXG0PvzEkVY2ozcsrMr/zTf5i/8b+A7OiASDBwwsR?= =?utf-8?q?x5d0TsYMGc0/PIkFMw9QA9yeJ0G8/uKKGumbmITky1FYb00Mk7TV99o9kpOhBGUwZ?= =?utf-8?q?dmDZOO0/7RGTl75Vs5WOEBF/ZIryGFvApH7WVKYhfU2OseDc1lm7xgFdHv2Ko4CDi?= =?utf-8?q?nwezotMY9gWeEEITFWirWwUi7JKP7+Om3lQc7/PqTsDTKIc3DaDKIbB6mAoH4Tc7t?= =?utf-8?q?xXz/kJ1jmW1/O5dObIECWfG98ExcJzqB2w=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c26bd27b-9afe-470c-3114-08dc297897b5 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5373.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2024 14:08:29.9275 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QgkX1B2hbBCCsUCWJhLM6WyLOJ8ynCDB0t29P0/Ka1kTH+AdwkonleCC5iNuc5AxLUjD1/1/UTg4WXHHan4fIXT02kuZcBrEcySCeMoPYuU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR11MB8669 X-OriginatorOrg: intel.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790430657803304807 X-GMAIL-MSGID: 1790430657803304807 |
Series |
drm/tests: mm: Convert to drm_dbg_printer
|
|
Commit Message
Michał Winiarski
Feb. 9, 2024, 2:08 p.m. UTC
Fix one of the tests in drm_mm that was not converted prior to
drm_debug_printer removal, causing tests build failure.
Fixes: e154c4fc7bf2d ("drm: remove drm_debug_printer in favor of drm_dbg_printer")
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
---
drivers/gpu/drm/tests/drm_mm_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2/9/24 15:08, Michał Winiarski wrote: > Fix one of the tests in drm_mm that was not converted prior to > drm_debug_printer removal, causing tests build failure. > > Fixes: e154c4fc7bf2d ("drm: remove drm_debug_printer in favor of drm_dbg_printer") > Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> > --- > 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) > > static void drm_test_mm_debug(struct kunit *test) > { > - struct drm_printer p = drm_debug_printer(test->name); > + struct drm_printer p = drm_dbg_printer(NULL, DRM_UT_CORE, test->name); > struct drm_mm mm; > struct drm_mm_node nodes[2]; > Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
On 09.02.2024 15:08, Michał Winiarski wrote: > Fix one of the tests in drm_mm that was not converted prior to > drm_debug_printer removal, causing tests build failure. > > Fixes: e154c4fc7bf2d ("drm: remove drm_debug_printer in favor of drm_dbg_printer") > Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> > --- > 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) > > static void drm_test_mm_debug(struct kunit *test) > { > - struct drm_printer p = drm_debug_printer(test->name); > + struct drm_printer p = drm_dbg_printer(NULL, DRM_UT_CORE, test->name); > struct drm_mm mm; > struct drm_mm_node nodes[2]; >
On Fri, 09 Feb 2024, Michał Winiarski <michal.winiarski@intel.com> wrote: > 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 <jani.nikula@intel.com> 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=m either. BR, Jani. > > Fixes: e154c4fc7bf2d ("drm: remove drm_debug_printer in favor of drm_dbg_printer") > Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> > --- > 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) > > static void drm_test_mm_debug(struct kunit *test) > { > - struct drm_printer p = drm_debug_printer(test->name); > + struct drm_printer p = drm_dbg_printer(NULL, DRM_UT_CORE, test->name); > struct drm_mm mm; > struct drm_mm_node nodes[2];
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) static void drm_test_mm_debug(struct kunit *test) { - struct drm_printer p = drm_debug_printer(test->name); + struct drm_printer p = drm_dbg_printer(NULL, DRM_UT_CORE, test->name); struct drm_mm mm; struct drm_mm_node nodes[2];