Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp716186yba; Sat, 13 Apr 2019 11:42:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpElbdX/SY+nlM8EFv3w9Px9T34COeTvuiWhUFzy3K0AhB9iSV34rWdhnZo/I+8oOm8N0F X-Received: by 2002:a17:902:1621:: with SMTP id g30mr33416689plg.168.1555180970041; Sat, 13 Apr 2019 11:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555180970; cv=none; d=google.com; s=arc-20160816; b=h+EeRgokkR/C2bLyWNu3fn103KjDDgx4bHtv2FTN4ScUGzjoO+j1unoz4Gh2IS51kG LWQiQVh9A1cCZ3gHojFWsl6eG57Swlq7lSMsUO70AL+cMKdQnBNuRFlUVO0FsmuRDS06 /1kCQdXZgmgFkPCodDkxvnE0mbGCSA+CmwOIgzr2DtsbS8D46drK4MBFP8ukTjZBBY/D uC0buyLdZnOlC8gi1O9UBGapOa06g/TpT+82FkQwBtuNMsLqoElKngXaTaf6kAD21MN9 aoMMocHe4qmmAuECimXe6FcPUlNvYrmp/T6TC8NyS3omqUmEr2w3FlrRQsiZMdH6q2Ta 0t+A== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature; bh=jGBMXmQ5YJuRTauW1Zx3nDOlugm25mBBQVmy7GBniPI=; b=qtlgLXut6SKttaM0w8l/VAEwW7eePLH68yrTgxSd3L6norjz+f8Pa1Yk/hi9hnXeTZ 6T/1cPFae4PK9E3lZO78OjBDzdzGYFmdpyhcC2V5pHcyk7yXEnplQAqQ1M6fCgASwCdm r7qEKOiaVvFud8TzkhF7C5gyQ76IXkWHlSE+vRe/tgWPtfNxhtasDE2Ozqm4DAOkNbCI zBKl+1QKhKoO5s0ID7MwTG88OWr/rxN4+PVS4SUygUhhtfKt1sJ2mMgGhHQSXlkv+J8G H3k0JCasWHzTPUVUCJkE3ZXFBY8TiG4uuMIslpGkTjFGt0qsDWsyC3WRBAiKSzpxHx38 UBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=VluxhAfF; 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 g10si39291384pgs.397.2019.04.13.11.42.09; Sat, 13 Apr 2019 11:42:50 -0700 (PDT) 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=VluxhAfF; 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 S1727019AbfDMSkQ (ORCPT + 99 others); Sat, 13 Apr 2019 14:40:16 -0400 Received: from mail-eopbgr790040.outbound.protection.outlook.com ([40.107.79.40]:19392 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726936AbfDMSkP (ORCPT ); Sat, 13 Apr 2019 14:40:15 -0400 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=jGBMXmQ5YJuRTauW1Zx3nDOlugm25mBBQVmy7GBniPI=; b=VluxhAfFN8Cxn05xHN3xiPTwbA6W+AbEUqhk/1I02tChEfGlBW+B8IAfoqQVimE59pa/S+3OwHy9mIsqSlslMEy2/G8GbMd66hRAyH+JZxp6V+ZqiQlUR4IaLg+wEE+1WlFT7ubBSUNvuYGPGPpsP9ie68ZGUL+zAmHHwsXwPW0= Received: from DM5PR12MB1546.namprd12.prod.outlook.com (10.172.36.23) by DM5PR12MB1211.namprd12.prod.outlook.com (10.168.239.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Sat, 13 Apr 2019 18:39:59 +0000 Received: from DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::70fc:f26c:1e22:73ba]) by DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::70fc:f26c:1e22:73ba%10]) with mapi id 15.20.1792.018; Sat, 13 Apr 2019 18:39:59 +0000 From: "Koenig, Christian" To: Thomas Hellstrom , "dri-devel@lists.freedesktop.org" , Linux-graphics-maintainer , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4/9] drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct Thread-Topic: [PATCH 4/9] drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct Thread-Index: AQHU8Ulplzzj2WPY8kOcR/oGGxtH2KY6bfoA Date: Sat, 13 Apr 2019 18:39:59 +0000 Message-ID: References: <20190412160338.64994-1-thellstrom@vmware.com> <20190412160338.64994-5-thellstrom@vmware.com> In-Reply-To: <20190412160338.64994-5-thellstrom@vmware.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM5PR0601CA0031.eurprd06.prod.outlook.com (2603:10a6:203:68::17) To DM5PR12MB1546.namprd12.prod.outlook.com (2603:10b6:4:8::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a4382a02-b5f4-4b15-e193-08d6c03f6e52 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB1211; x-ms-traffictypediagnostic: DM5PR12MB1211: x-microsoft-antispam-prvs: x-forefront-prvs: 00064751B6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(136003)(396003)(366004)(39860400002)(189003)(199004)(229853002)(6436002)(446003)(105586002)(66574012)(25786009)(2501003)(2616005)(476003)(11346002)(6486002)(486006)(68736007)(5660300002)(102836004)(71200400001)(31686004)(71190400001)(65826007)(106356001)(72206003)(386003)(14454004)(46003)(478600001)(186003)(6116002)(6506007)(8676002)(6512007)(76176011)(64126003)(8936002)(81156014)(65956001)(65806001)(99286004)(305945005)(110136005)(52116002)(31696002)(7736002)(36756003)(256004)(14444005)(81166006)(2906002)(58126008)(97736004)(316002)(6246003)(86362001)(53936002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1211;H:DM5PR12MB1546.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Yq6uMpOL+WJPSbBpSipLPySnzzZ7NhTK27RtuMnxtIzsakCHin+7mySE6S/qCT5KpE0BEut+nYIT+50HaosK3VuzjWW+CJLhRWehj4BxwP1gfosEO/tdAVhkUPSJ5dQQMz9w9L9gGtGyuZg1njIzHBfsJPQVYLMKE3jb1AV1GYaMGTxl3CqtNAMKmzxhTQ1+CVi7iINPuxfSBC/FM+oO3oM/pw0nK4KTLgsVZzicTz7YL9IfRVfylTOhtpB9BUfFhUOMlCjLoalGlxENJNW2snIoVTC1NjosbI2vSUAQFoZ1JkPmVdmh6NPTK0Tt4mkg5SaFPRHYE/ODvVFxDaatiNPWmx144JlTXGMdRsYHjkOrQyFC1UAElfEvQnDeqi0jUvur3EvBd0Bzoksrt8B0hhqiqHZRtU/f7b1NesXympM= Content-Type: text/plain; charset="utf-8" Content-ID: <454FECB4DCDA624E87A6F67A312E706C@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4382a02-b5f4-4b15-e193-08d6c03f6e52 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2019 18:39:59.5780 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1211 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMTIuMDQuMTkgdW0gMTg6MDQgc2NocmllYiBUaG9tYXMgSGVsbHN0cm9tOg0KPiBBZGQgYSBw b2ludGVyIHRvIHRoZSBzdHJ1Y3Qgdm1fb3BlcmF0aW9uc19zdHJ1Y3QgaW4gdGhlIGJvX2Rldmlj ZSwgYW5kDQo+IGFzc2lnbiB0aGF0IHBvaW50ZXIgdG8gdGhlIGRlZmF1bHQgdmFsdWUgY3VycmVu dGx5IHVzZWQuDQo+DQo+IFRoZSBkcml2ZXIgY2FuIHRoZW4gb3B0aW9uYWxseSBtb2RpZnkgdGhh dCBwb2ludGVyIGFuZCB0aGUgbmV3IHZhbHVlDQo+IGNhbiBiZSB1c2VkIGZvciBlYWNoIG5ldyB2 bWEgY3JlYXRlZC4NCj4NCj4gQ2M6ICJDaHJpc3RpYW4gS8O2bmlnIiA8Y2hyaXN0aWFuLmtvZW5p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