Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp650758imu; Fri, 21 Dec 2018 05:19:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ChRSEQQLBDTTGJbnyy4A3SD85IZKtjGo5w9tnWAXWat5bAe0L1v0x4aHUG3zom3vVWWP4 X-Received: by 2002:a17:902:8484:: with SMTP id c4mr2442673plo.59.1545398369027; Fri, 21 Dec 2018 05:19:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545398368; cv=none; d=google.com; s=arc-20160816; b=B4Z4luEywYrUAu7sm+VxthtTC3pfKFGsw8/of8sk9qjl5jDU5ohZlElQVbuJkzrWgh djwirpge3jmCAtsHRv/TyWY1NI91XOd4hMRS4gBx5/9slIJkDIDg8YfLbm7YF+yrW78d acJp/b5iQdxsLskRHHK7VTar2r2tfm5hAYInHHsJpyarDy3rNn8LcuCzVjdfugtLtCkl 2Wx3RCvehZ6wff+1e4zXtyGxvJvup0uLh4OJV7JPhE3Qfd5vhJ4+4IIfBakra687Srzb BES1gZ5oeHytDaNjhK/i5znQjudExXe+ZLF4lExvPqKsdbk3+4AoqkpzWmsVle4A922S RaoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=e63wd8Zd2GH7RwEsiOg18be3WuhRHbKksqXyoLDDB4Y=; b=cqlHvgT0kR+CqW9Bn+vJntlieDcS9BnsomVJAmDgWZdvi0gxYV5dbP7gMbKnBIGWUU BMlNvhkXsqGJSs768TN/YFc0BaRa6a5YEh/2FuGdUfbBd7Bs2MT1DESAmAx16toKFJHd K2kETteSBKp5/WHViQHcCn6BHHSuznd2IqHW/7OIU3t1ZEUUohpv5mi+vrVdvy75B/kE 9orbKl+k1z0siOgxPPVl4FNzmPpVx/Jz+9siZsrwdKRGWybQXICP1Poxu9bDT15gN7gh yOJm7Rn3Js5P8clIWlihag8kIOimmjTSBTKKTVyLCBfjT5gkE4kftbS9fgrc6Tn0EseY hRcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=5VoNMU7e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16si21229091pgh.283.2018.12.21.05.19.13; Fri, 21 Dec 2018 05:19:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=5VoNMU7e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388295AbeLUB3h (ORCPT + 99 others); Thu, 20 Dec 2018 20:29:37 -0500 Received: from mail-eopbgr700088.outbound.protection.outlook.com ([40.107.70.88]:23433 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731379AbeLUB3h (ORCPT ); Thu, 20 Dec 2018 20:29:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e63wd8Zd2GH7RwEsiOg18be3WuhRHbKksqXyoLDDB4Y=; b=5VoNMU7euD4FWEYJn25XRHIo16xJhI8Mr1Xvz/9KPC4TZ0W2AradCLq9S90bsFdB4pPG3GAtGu93aKgYYKDDsgA3CH1IxmhZg08rehtuQYRgiOO9QTB6kIYj1PWbPMj3QTcgW0H1d4eAjmhBPK5ffUfn9US5qsmSyT7aqNqEHek= Received: from BYAPR12MB2597.namprd12.prod.outlook.com (20.176.255.158) by BYAPR12MB3320.namprd12.prod.outlook.com (20.178.55.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.17; Fri, 21 Dec 2018 01:29:31 +0000 Received: from BYAPR12MB2597.namprd12.prod.outlook.com ([fe80::b55e:6c0:7c93:41c]) by BYAPR12MB2597.namprd12.prod.outlook.com ([fe80::b55e:6c0:7c93:41c%2]) with mapi id 15.20.1446.020; Fri, 21 Dec 2018 01:29:18 +0000 From: "Zhang, Jerry" To: =?utf-8?B?TWljaGVsIETDpG56ZXI=?= CC: "Koenig, Christian" , "Huang, Ray" , "Zhang, Jerry" , David Airlie , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm/ttm: Use drm_debug_printer for all ttm_bo_mem_space_debug output Thread-Topic: [PATCH] drm/ttm: Use drm_debug_printer for all ttm_bo_mem_space_debug output Thread-Index: AQHUmFZGo6LE/eW5tkqbwd1rP82n0KWIaK8A Date: Fri, 21 Dec 2018 01:29:18 +0000 Message-ID: References: <20181220112209.8063-1-michel@daenzer.net> In-Reply-To: <20181220112209.8063-1-michel@daenzer.net> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerry.Zhang@amd.com; x-originating-ip: [140.207.236.70] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR12MB3320;20:urgW0hIgvG1Hd5Gf1gAzUaupcAYueeYy+byeGFpFcIs1VjVQlh9ZhI35j4BIEPRTHQ6oX3pQXDZVCec0LDA+O5eINTkdzgodox9JPwYs3iqVpoIXppOsAGqP2lO9nLfBCsnhTk8aiZyvKa+wXLAVm1EmNMVoST8ADKz+fFJTcHfeBNlFIM9mhQClhKzj8VAFR7g/VMa5hjkMsObMBYZ9XR2g7nP2bpIXlUBeYvvmrerxiaudUIDzdn/vh+Fdahhv x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(39860400002)(366004)(376002)(346002)(396003)(136003)(199004)(189003)(6512007)(99286004)(6916009)(102836004)(26005)(476003)(2906002)(2616005)(53936002)(82746002)(316002)(11346002)(54906003)(66066001)(229853002)(446003)(72206003)(68736007)(25786009)(5660300001)(186003)(7736002)(36756003)(106356001)(6246003)(8936002)(71190400001)(71200400001)(8676002)(33656002)(305945005)(14454004)(86362001)(97736004)(4326008)(81156014)(81166006)(6436002)(256004)(6116002)(478600001)(6506007)(105586002)(3846002)(6486002)(76176011)(486006)(83716004);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR12MB3320;H:BYAPR12MB2597.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-office365-filtering-correlation-id: 509b4052-11c0-4cf7-8231-08d666e3b9f9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BYAPR12MB3320; x-ms-traffictypediagnostic: BYAPR12MB3320: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BYAPR12MB3320;BCL:0;PCL:0;RULEID:;SRVR:BYAPR12MB3320; x-forefront-prvs: 0893636978 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: IRVK91wDeXuSJ6f3QnVQly95XMs17zKs1ucyl95N5wz3TGvqV/Dcb1rJhepMZSVg1ICGUZwgWnYVax7OtU0Vqv5ubkwsGTRP6iZdGZ36gCBtnBE0PJTQZoZK/ZOCLQ5biuJ/kZhnC9fOiuEy6F3rhQFBlOqm1VerSydj3f5GBESN9GDXDiooO7CZHvdf7PFSzIM5Wnj7vGlHahFrekkvNCPRduLDPeIV/2j7iHQ1hKyeGWlp8tsIgbsUHiPH9b5zbljscbz8OR/RhEEHFCAPgheiLes3nojfLMylTsGaq0EJnNfTh0hcbzQ8j14FpYJ0 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2892442BCD41264EADD8A7AA7B9AA718@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 509b4052-11c0-4cf7-8231-08d666e3b9f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2018 01:29:18.1999 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3320 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IOWcqCAyMDE45bm0MTLmnIgyMOaXpe+8jDE5OjIy77yMTWljaGVsIETDpG56ZXIgPG1pY2hl bEBkYWVuemVyLm5ldD4g5YaZ6YGT77yaDQo+IA0KPiBGcm9tOiBNaWNoZWwgRMOkbnplciA8bWlj aGVsLmRhZW56ZX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