Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3535153yba; Tue, 23 Apr 2019 05:38:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6nDHHH3ENBb5fLChkLvxF4AYNU2YmbCjh63hgJvQppBicbDGc9XWddFxZRs0hUUIxOAPD X-Received: by 2002:aa7:9095:: with SMTP id i21mr27544066pfa.134.1556023106558; Tue, 23 Apr 2019 05:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556023106; cv=none; d=google.com; s=arc-20160816; b=XAWplt4QgBVXzUu386tqbKEv0JAAjVbC5VNHJBxm7YIn6rM2ihTNlLB/7vI2rX8Yw5 /Rb5qYY80H2bDOvTsSqXUrI2GWrlIDuAiX0AWjP+gliqKTGAdrHPqVc74MfbjrnbY6oD jXo6mY0VQ+jEO5TIsVbxYss5jn90YLcehhcGjTOkRPmsdZjbdsvTijKXRfHapw1PEmsK TFoigZ4UjYZsinHzG+SOHC/rn3qb6H9moED4T12h6hnIbn+EzXK86z8Ob1B2NJZFIJ9E S04Rfx/1R9ZS7f4AXsr2YPIBHsj6nghGJ7EP313bvw0QmmcMRqhLPXOOyc9p1Kl6Gb4C k/vg== 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:cc:to :from:dkim-signature; bh=B6dYOrpM1KCsXTylNQuXvoR/aO0DmUmTP/2rD+p34w4=; b=k9YfbAtJRXkPktTOv8Tacqaq0slUfJz0No7/alZ1COafbovLzSy0ZBB69VvJdHV1rG DGJWaB4U1Z7Ez8Bx/C1SSvgbWmbjZkQkRYJoFRRmtVxdGfgYFzdsb256tINK+rdMNOly QdEvRV2ZqgebhWWpnOpbQn1VwTjC5ay9rqxjSH9TLRKOgkjXNlccvM0gQ1XGHbHIT6yr cMgUTnlU9OIcldEiBNDEFarwV1eu75/NP2ClB/MBaUqpVmk+W+CPWlIszZwilzkX082F ttBPD91KBRzdnDy5MnKNDE/CGk8GyKRMBddY3X014xXWkhIm1sBhowno3Hsa6FF3Qlut YWtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=wD4juUgj; 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 m3si8226393pgp.562.2019.04.23.05.38.11; Tue, 23 Apr 2019 05:38:26 -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=wD4juUgj; 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 S1727758AbfDWMgL (ORCPT + 99 others); Tue, 23 Apr 2019 08:36:11 -0400 Received: from mail-eopbgr720083.outbound.protection.outlook.com ([40.107.72.83]:24032 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727714AbfDWMgJ (ORCPT ); Tue, 23 Apr 2019 08:36:09 -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=B6dYOrpM1KCsXTylNQuXvoR/aO0DmUmTP/2rD+p34w4=; b=wD4juUgjhjkYSHccE8mOxZfTQBEfYCiilGDLhG0BEvD5Km5yc6mzdNcx1O2E0e9web9a2D8+O7hVthmKAgAVMM0TMmYM+5WgyZngvt1uNzCs/B9OEjrvGpgUBlMDd2Lq2E9XhWbE/uRtLnBVjwumZFyDkRKAlAc9vJGYm6lSM7Q= Received: from DM5PR12MB1546.namprd12.prod.outlook.com (10.172.36.23) by DM5PR12MB1548.namprd12.prod.outlook.com (10.172.37.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Tue, 23 Apr 2019 12:36:04 +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.1813.017; Tue, 23 Apr 2019 12:36:04 +0000 From: "Koenig, Christian" To: Serge Semin , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , "Huang, Ray" , "Zhang, Jerry" CC: "dri-devel@lists.freedesktop.org" , "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Ralf Baechle , Paul Burton , James Hogan , "Vadim V . Vlasov" Subject: Re: [PATCH] drm: Permit video-buffers writecombine mapping for MIPS Thread-Topic: [PATCH] drm: Permit video-buffers writecombine mapping for MIPS Thread-Index: AQHU+dChEKiJLSyrBEq8lIyweClEMKZJro0A Date: Tue, 23 Apr 2019 12:36:04 +0000 Message-ID: References: <20190423123122.32573-1-fancer.lancer@gmail.com> In-Reply-To: <20190423123122.32573-1-fancer.lancer@gmail.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.6.1 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM6PR0202CA0019.eurprd02.prod.outlook.com (2603:10a6:209:15::32) 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: ad036752-cae8-4c6e-e64d-08d6c7e83fd4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB1548; x-ms-traffictypediagnostic: DM5PR12MB1548: x-microsoft-antispam-prvs: x-forefront-prvs: 0016DEFF96 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(396003)(136003)(346002)(376002)(199004)(189003)(6246003)(5660300002)(31686004)(68736007)(66574012)(6512007)(110136005)(58126008)(52116002)(46003)(2906002)(76176011)(386003)(486006)(476003)(2616005)(11346002)(446003)(478600001)(186003)(72206003)(102836004)(6506007)(6636002)(53936002)(54906003)(14454004)(8936002)(36756003)(31696002)(8676002)(229853002)(81156014)(6116002)(7736002)(64126003)(316002)(305945005)(86362001)(81166006)(97736004)(14444005)(99286004)(71200400001)(71190400001)(4326008)(25786009)(6486002)(7416002)(65806001)(6436002)(73956011)(256004)(66946007)(65826007)(65956001)(66446008)(66556008)(64756008)(66476007)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1548;H:DM5PR12MB1546.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: kK3RYLCrf213vmj1Yt9b4DHZiFVEyw/ShJAkZ0KlQxSQTN0fv52m0W8ahFt5zYb9xxulBil7mJNacwdFtwT6XhcQQSqbu+xZhmy4ssReTwNn7yD5I4VN5NEmj873hv0RTx8rkp0DgA1seowj7aoJauW12UNzrvqUxPI/tjvIph2sMn48leSfwWis0EBhbaVw/HFpWbRk/iPiYyYlAUWJ2fIfmELrjGMCx4pwMX/uohJuVrdpS4mCRmrZPnEUaJF5/+s1iKD8ruB3TuayatXxcGASuFu1Z+OrcOc9L46j9XEPjLCiQdXrV+lzPan5Qk2TxmKUgJuAiHMFBAVMwe0XxhjgMw6ORYphOUUw9CK1Aq42OoWDLbWZwsyRtD8S+n9sTIHNETZCtyD+jsf/VPzmRgnXnOU15RX0Oi4/YY7jBhI= Content-Type: text/plain; charset="utf-8" Content-ID: <03BD4A253FAA65449EA1059CEDCE9597@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad036752-cae8-4c6e-e64d-08d6c7e83fd4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2019 12:36:04.0974 (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: DM5PR12MB1548 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMjMuMDQuMTkgdW0gMTQ6MzEgc2NocmllYiBTZXJnZSBTZW1pbjoNCj4gU2luY2UgY29tbWl0 IDRiMDUwYmE3YTY2YyAoIk1JUFM6IHBndGFibGUuaDogSW1wbGVtZW50IHRoZQ0KPiBwZ3Byb3Rf d3JpdGVjb21iaW5lIGZ1bmN0aW9uIGZvciBNSVBTIikgYW5kIGNvbW1pdCBjNDY4N2IxNWE4NDgg KCJNSVBTOiBGaXgNCj4gZGVmaW5pdGlvbiBvZiBwZ3Byb3Rfd3JpdGVjb21iaW5lKCkiKSB3cml0 ZS1jb21iaW5lIHZtYSBtYXBwaW5nIGlzDQo+IGF2YWlsYWJsZSB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