From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="PT19OmJm" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9728BD for ; Fri, 1 Dec 2023 15:16:10 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B1MNnWi007616; Fri, 1 Dec 2023 23:15:35 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=5tJ2jufU6i4CR7DTAwCG1B3PJndwMdbnmGFC4wWwSEA=; b=PT19OmJm8MDDzb5SpErocJ9pik7G3UJjGI4COIRR4p9OHDuAIrUZYYgFlt+UyI/4oSD9 L/9GMCXZ+MtvsrAXPHslKXmPqt6n4tVy4MKOT3i1QpDEUi8yftvTW8GbyOy1vX8GcrEL AOQBN+QSit0KhxmZ36t7/bnViRNV58PqMp5SpMCda48YFvrktP47HDALfvvxZMLEFPti n+UAKSzf23Qg1XIkJbs57VAIycxjeDHitwa/yZUuhTPI1eKyvGLes76CKEsoWU8DVVxJ zRXFnURHy0OL3innmJoTIC0Kv2To8YuAOp8xK5UvblH5Hgk1JF4czkcy3ssxYvH5vyH1 dg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uq2kpb7bs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Dec 2023 23:15:35 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B1NFYVQ008413 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Dec 2023 23:15:34 GMT Received: from [10.110.73.134] (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.40; Fri, 1 Dec 2023 15:15:33 -0800 Message-ID: Date: Fri, 1 Dec 2023 15:15:33 -0800 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 09/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_encoder Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten CC: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , , , References: <20230708010407.3871346-1-dmitry.baryshkov@linaro.org> <20230708010407.3871346-10-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230708010407.3871346-10-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: gGh7gg34JbmSkI-DAtDRgg-hDhw-mQEU X-Proofpoint-GUID: gGh7gg34JbmSkI-DAtDRgg-hDhw-mQEU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-01_22,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 spamscore=0 mlxlogscore=990 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312010143 On 7/7/2023 6:03 PM, Dmitry Baryshkov wrote: > Change struct mdp5_encoder allocation to use drmm_encoder_alloc(). This > removes the need to perform any actions on encoder destruction. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c | 29 +++----------------- > 1 file changed, 4 insertions(+), 25 deletions(-) > Reviewed-by: Abhinav Kumar