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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D044C4332F for ; Tue, 7 Nov 2023 17:24:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CF4710E0DA; Tue, 7 Nov 2023 17:24:43 +0000 (UTC) Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id C304510E0D5; Tue, 7 Nov 2023 17:24:41 +0000 (UTC) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7HLY5W008528; Tue, 7 Nov 2023 17:24: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=jf46ZARDhPY4ulOPp4yC65wqr0FNTZ7VVb1Rfw5O4RA=; b=b6ZbeDMem1jibPAWhy1AJloXxWXeomk/ez6nF2am2/bBj5rKSpmJIfMyW4xqI4qyHu8v z/1e3U+mFF1zjmCfAKPnUXiSFK/aHiqG4Gie091pNavLx8VwUAU4BdPP7eNslEYa4IwM 8xOSZrGN7dqVY47Oh+VURy6IF5EHDVNHBE15Q97oLnsCt3RmOtpQ8ZF3v8RrDUHWW0fx jYve21NMtzZla+pdNV6NuNmRixsd6818GDQb9ib6NninV39RAy7mnVcEBwPENPJloXcp cWbA6gulyD5ekqXiLvJVynxClpDpbZ3taDYr6oMQMk904B1ZhmSTXOjn3idaDhlOjnn4 xg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u7sjfg05x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Nov 2023 17:24:34 +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 3A7HNxnR006876 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Nov 2023 17:23:59 GMT Received: from [10.71.109.77] (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.39; Tue, 7 Nov 2023 09:23:56 -0800 Message-ID: <44936b14-c419-8de6-b9af-ede77bfae6b0@quicinc.com> Date: Tue, 7 Nov 2023 09:23:54 -0800 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] drm/msm: remove exra drm_kms_helper_poll_init() call Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten References: <20231107111413.2212942-1-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20231107111413.2212942-1-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: 2NzPZ33nzaYJLCMhTdTFim49IzZ2jvMW X-Proofpoint-GUID: 2NzPZ33nzaYJLCMhTdTFim49IzZ2jvMW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-07_09,2023-11-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 malwarescore=0 mlxscore=0 phishscore=0 mlxlogscore=592 spamscore=0 clxscore=1015 impostorscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311070144 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , dri-devel@lists.freedesktop.org, Stephen Boyd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 11/7/2023 3:14 AM, Dmitry Baryshkov wrote: > It seems during rebases I have left a call to drm_kms_helper_poll_init() > which is not guarded by the (priv->kms_init) check. This leads to the > crash for the boards which don't have KMS output. Drop this call, as > there is a correctly guarded one next to the one being removed. > > Fixes: 506efcba3129 ("drm/msm: carve out KMS code from msm_drv.c") > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Abhinav Kumar