Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15831076rwd; Mon, 26 Jun 2023 01:48:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BRts2ASVGbqSbocxFbKlLoklB4xCL8BMru/EUmIyd4iQjAQ+uAd13ot+TyKnj5T28VE4Y X-Received: by 2002:aca:f183:0:b0:39e:acbe:6a05 with SMTP id p125-20020acaf183000000b0039eacbe6a05mr29445553oih.7.1687769304511; Mon, 26 Jun 2023 01:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687769304; cv=none; d=google.com; s=arc-20160816; b=DOhFjDozhGZkp3BH319AOsaDwljIcv8/ueU4Vrrrz3M+DNWhk8V+4JGU2NsiuZx8Ap 5KOn7C+DQ1jti1zn288NlJKAs7ykluQDdcZA/x8wDyLEfSiLOteWP6kq3YlJjUETnOV+ CfQ5WQUHibs+dQoLMJCz5sCQCdj+JfCmlJH2dhVwfqHA/Z0E7LX5POxFc7ixEPIKBuGw zRY9DP8cwMzM3HqnrlQS7XyO+TSkPdXFT9JpssoiDbHaMMn108JjZB50/nBCQLNHphGT nyOxAvFhYGpJASm5/dfUnl6gbiCvMHM3paPSOzjchPV9Ci/BaV18XkDUcoMUUN/EjF7O Osgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=bDMEcMqr7gQqX0LbHuLFjSeOaDzf9Kz/97P7WhlcQrs=; fh=tXPeIyyZVktueB/9WqMetsoH0zNujjZSwsgb5TeEUlw=; b=OtYmgG7QvmZzMPMMGCC/JP5wFaA5ZoBpdrVGEYbIuEczWsry0vuYsmtWQ6n8riumZT W/d812+tXp4EuqrulybBgXs0+hZf2B1RN6ESp+jmyrU1l9ridHEO56x1ajx/iM0fnJuA mMRML6n0pX1n9kZY4W6jJF6tXPqtV4nrSgBFn2NTUIWx0/W8pJ2ylJPq/+wGXfeJK7FN PA1GBBCGCNZBJ9boj4W1HS1rEGOWkoHVtCRZeYD5Ca50C9/MuzmhpBohDnwsauFjD4ux Qd113hH6W+P05AtHGBdmIIP2yT8EXjUASTiRFjOralBhJBPjfr+9LqO28g4LPLo8gVvq b6Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="UGh5/5Jc"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t17-20020a17090aba9100b00262f0526393si1637054pjr.48.2023.06.26.01.48.13; Mon, 26 Jun 2023 01:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="UGh5/5Jc"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229584AbjFZH4i (ORCPT + 99 others); Mon, 26 Jun 2023 03:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjFZH4h (ORCPT ); Mon, 26 Jun 2023 03:56:37 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B90141AC for ; Mon, 26 Jun 2023 00:56:35 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 00FDB218B0; Mon, 26 Jun 2023 07:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1687766194; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bDMEcMqr7gQqX0LbHuLFjSeOaDzf9Kz/97P7WhlcQrs=; b=UGh5/5JcQh2mGnG7LUh3tarHogrLvdg5EM6I96IQmFOZTRNO8rkv7+WU9hG8Zrm4rGg081 1Q6iOuefKIfoHch5ZlDyRTfsDW2S2SGPcla4f7UY1kc4MBO7R7JWSbeigeao9Lb6kXpCEo 602SqN357IRmgZX2F391iUEWSuDafH8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1687766194; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bDMEcMqr7gQqX0LbHuLFjSeOaDzf9Kz/97P7WhlcQrs=; b=z5qdRoVfJK4KFp1iFn/qBXHdLamutcDN8f6AjNyPZRsGgBAubnRa1+j4AOdR0x/kya2hym Itc150/194PiFeAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6CE161391D; Mon, 26 Jun 2023 07:56:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id bndXE7BEmWRtRQAAMHmgww (envelope-from ); Mon, 26 Jun 2023 07:56:32 +0000 Message-ID: <4672fc8d-ca95-6d00-1303-cb5968c51703@suse.de> Date: Mon, 26 Jun 2023 09:56:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] drm: Remove the deprecated drm_put_dev() function To: Sui Jingfeng , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Alex Deucher , Christian Koenig , Pan Xinhui Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org References: <20230625050901.393055-1-suijingfeng@loongson.cn> Content-Language: en-US From: Thomas Zimmermann In-Reply-To: <20230625050901.393055-1-suijingfeng@loongson.cn> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------JFdSLqXHt9O0c0JRuXjClnvM" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------JFdSLqXHt9O0c0JRuXjClnvM Content-Type: multipart/mixed; boundary="------------2RkDms0vhUG72IC1rRbOoqhG"; protected-headers="v1" From: Thomas Zimmermann To: Sui Jingfeng , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Alex Deucher , Christian Koenig , Pan Xinhui Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org Message-ID: <4672fc8d-ca95-6d00-1303-cb5968c51703@suse.de> Subject: Re: [PATCH] drm: Remove the deprecated drm_put_dev() function References: <20230625050901.393055-1-suijingfeng@loongson.cn> In-Reply-To: <20230625050901.393055-1-suijingfeng@loongson.cn> --------------2RkDms0vhUG72IC1rRbOoqhG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMjUuMDYuMjMgdW0gMDc6MDkgc2NocmllYiBTdWkgSmluZ2Zlbmc6DQo+IEFz IHRoaXMgZnVuY3Rpb24gY2FuIGJlIHJlcGxhY2VkIHdpdGggZHJtX2Rldl91bnJlZ2lzdGVy KCkgKyBkcm1fZGV2X3B1dCgpLA0KPiBpdCBpcyBhbHJlYWR5IG1hcmtlZCBhcyBkZXByZWNh dGVkLCBzbyByZW1vdmUgaXQuIE5vIGZ1bmN0aW9uYWwgY2hhbmdlLg0KPiANCj4gU2lnbmVk LW9mZi1ieTogU3VpIEppbmdmZW5nIDxzdWlqaW5nZmVuZ0Bsb29uZ3Nvbi5jbj4NCj4gLS0t DQo+ICAgZHJpdmVycy9ncHUvZHJtL2RybV9kcnYuYyAgICAgICAgICAgfCAyOCAtLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tDQo+ICAgZHJpdmVycy9ncHUvZHJtL2RybV9wY2kuYyAg ICAgICAgICAgfCAgMyArKy0NCj4gICBkcml2ZXJzL2dwdS9kcm0vcmFkZW9uL3JhZGVvbl9k cnYuYyB8ICAzICsrLQ0KPiAgIGluY2x1ZGUvZHJtL2RybV9kcnYuaCAgICAgICAgICAgICAg IHwgIDEgLQ0KPiAgIDQgZmlsZXMgY2hhbmdlZCwgNCBpbnNlcnRpb25zKCspLCAzMSBkZWxl dGlvbnMoLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9kcml2ZXJzL2dwdS9kcm0vZHJtX2Rydi5j IGIvZHJpdmVycy9ncHUvZHJtL2RybV9kcn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I3MDZjYWM1Ni4uMjg5Yzk3YjEyZTgyIDEwMDY0NA0KPiAtLS0gYS9p bmNsdWRlL2RybS9kcm1fZHJ2LmgNCj4gKysrIGIvaW5jbHVkZS9kcm0vZHJtX2Rydi5oDQo+ IEBAIC01MTEsNyArNTExLDYgQEAgdm9pZCBkcm1fZGV2X3VucmVnaXN0ZXIoc3RydWN0IGRy bV9kZXZpY2UgKmRldik7DQo+ICAgDQo+ICAgdm9pZCBkcm1fZGV2X2dldChzdHJ1Y3QgZHJt X2RldmljZSAqZGV2KTsNCj4gICB2b2lkIGRybV9kZXZfcHV0KHN0cnVjdCBkcm1fZGV2aWNl ICpkZXYpOw0KPiAtdm9pZCBkcm1fcHV0X2RldihzdHJ1Y3QgZHJtX2RldmljZSAqZGV2KTsN Cj4gICBib29sIGRybV9kZXZfZW50ZXIoc3RydWN0IGRybV9kZXZpY2UgKmRldiwgaW50ICpp ZHgpOw0KPiAgIHZvaWQgZHJtX2Rldl9leGl0KGludCBpZHgpOw0KPiAgIHZvaWQgZHJtX2Rl dl91bnBsdWcoc3RydWN0IGRybV9kZXZpY2UgKmRldik7DQoNCi0tIA0KVGhvbWFzIFppbW1l cm1hbm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29mdHdhcmUgU29sdXRp b25zIEdlcm1hbnkgR21iSA0KRnJhbmtlbnN0cmFzc2UgMTQ2LCA5MDQ2MSBOdWVybmJlcmcs IEdlcm1hbnkNCkdGOiBJdm8gVG90ZXYsIEFuZHJldyBNeWVycywgQW5kcmV3IE1jRG9uYWxk LCBCb3VkaWVuIE1vZXJtYW4NCkhSQiAzNjgwOSAoQUcgTnVlcm5iZXJnKQ0K --------------2RkDms0vhUG72IC1rRbOoqhG-- --------------JFdSLqXHt9O0c0JRuXjClnvM Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmSZRK4FAwAAAAAACgkQlh/E3EQov+C2 3w//a8HjDztWC5ghdQzorI4Op+HxBhyun2Wvs5zvAiXYiySPhgSIhpm5BUidLJzFgw90r07Ttmrn XL8wGIMHyvg5id986W8ldTflDcuhEvxPVTi/nQWsfBh6bEjmKbo2wO5pIOPtuv6qpOMFXDwkpBhF uJwhLGMFaznNI4ImEh116qJpqMLYEcOJpOhPCdPTbwxfq2I42OF/DCvcWxMKKgk1skJb7kDuoGrx gLz0yA7EyN+iuTEKu0LysoJvGQ2DkHQsAhrLKMFHUCanWWJ/EwdrMLm8A74fZLXTWn92tY1lMsb8 HJSEklK/YSQcxCUaID9VNX8bVDoabVJYZH4XgmD0ZzpphS+tHFzc/ydEm+xifmq67IPOQ6wl5wCw JvE+o/cs2jzJaC7Pj7n17BUmqGntGCPI+hW+2D8jme6sDxFyYUnN1m2QRe8PfXCgKZl377WgqDRF gFL7DKwrSrjuryu0mWKc8YsEJahiXg9YGTlEcEQly6HJfpCfr0RMfylO3OdYv3KiRgmekT9h8isz cZPKq8VwJC/sSlIWTnvTel0/SlpuQp7pnujcgy4B5epxq5byvkQ5ymJzD7/nsDdZfjBfJ7z80d2a K6a42oi8jTtebNOEHKmcx0ABs8+43j5e4tIbBfrY44JRwsYjKZJR91oFVTAALh8UCPuNxAOC/Xah B9Y= =m6lP -----END PGP SIGNATURE----- --------------JFdSLqXHt9O0c0JRuXjClnvM--