From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 684A5CD612F for ; Mon, 9 Oct 2023 19:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378513AbjJIT6s (ORCPT ); Mon, 9 Oct 2023 15:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378512AbjJIT6r (ORCPT ); Mon, 9 Oct 2023 15:58:47 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F42CA for ; Mon, 9 Oct 2023 12:58:44 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 399JfkO3012980; Mon, 9 Oct 2023 19:58:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=vgbO1AVKckxJ9EyjWkZUnwsX63Zroc6OD7c+7miWBks=; b=okiYIOA2ODYfynfbvc+ibud5Cx+I/LWtW7VsXHf3fB8dlyCtcFGtXUguTpxMD4M9r4mU 1qfe8muiswHyqG2nQNxcP0AuScw7dL1/xi+fQFi9t91toR0pXL+k49Q10ioakI71X6j9 GlR+jUklIuSC2jHRtCkzCA+NdWvuTLV3EVOVy/5fQphlQ4VFy0OhRVlbm7az1iJye05G /Q6vbIBrBK35NfVoG/1iSmTO2Cza6NwqC5s5ew4ssIGmcKQr0MrDtCI3VDqjC6ymxhys 6GtbSGiDNzxErGEa84NHMKXu/Nf/gpsEOrNmd+ZuLYmZGNQX71ymtKFKjvMKm5Adey4k hA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tkh87bcst-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Oct 2023 19:58:35 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 399JwHng021377 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Oct 2023 19:58:17 GMT Received: from [10.110.90.239] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Mon, 9 Oct 2023 12:58:17 -0700 Message-ID: Date: Mon, 9 Oct 2023 12:58:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 10/13] drm/msm: switch to drmm_mode_config_init() Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten CC: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , , , References: <20231009181040.2743847-1-dmitry.baryshkov@linaro.org> <20231009181040.2743847-11-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20231009181040.2743847-11-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 9ksBo43zqK29E8p3tqAIEvdkKOzU5q4E X-Proofpoint-GUID: 9ksBo43zqK29E8p3tqAIEvdkKOzU5q4E X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_17,2023-10-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 phishscore=0 impostorscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=940 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310090161 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 10/9/2023 11:10 AM, Dmitry Baryshkov wrote: > Switch to drmm_mode_config_init() instead of drm_mode_config_init(). > Drop drm_mode_config_cleanup() calls. > > Reviewed-by: Rob Clark > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/msm_drv.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > Reviewed-by: Abhinav Kumar