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 44923C48297 for ; Fri, 9 Feb 2024 18:37:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5613B10F9CD; Fri, 9 Feb 2024 18:37:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="SZMwiDL+"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 262CF10F9C3; Fri, 9 Feb 2024 18:37:26 +0000 (UTC) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 419I8UwB015260; Fri, 9 Feb 2024 18:37:24 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=sfFDrhDn4Bbv33xCfHo/CRv1o3bmhS7JIp51pInLIGE=; b=SZ MwiDL+5Ng5auZWaTCozzGbVEIVNN/1dDhRFGqcNgtvfoL3bmP7thiHytItHcqZSr PXmUWaWMfMT3IUH12CZmuQR/lHbaE8sBFFQoUMGKjBNil5pQCa8+bqu70QPh7caJ fqpKXEvsnuN1NfswHM2spiDvFTmlCKmOYaWxZt27tG57H96BhqIQnk2jcjEYDrwZ 8pbeJKcEumyE+pVAJD5CstZ+yH13pbtUNVuiGx6KqJv+X5i9pnScZYuiaP+3T6FK 2PZj1nNWFH1A3F63UBZFNRBCS74h4MGepJfV9YLj/7sRB4dJ4F4YbxG9atvM0ngg 1TezPbF91ncnw3TcYzvQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w4uphv3j6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Feb 2024 18:37:23 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 419IamCm003562 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 Feb 2024 18:36:48 GMT Received: from [10.110.105.190] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 9 Feb 2024 10:36:47 -0800 Message-ID: <36533dc6-630d-0612-6409-4e8adcedcbf1@quicinc.com> Date: Fri, 9 Feb 2024 10:36:46 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 3/5] drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , "David Airlie" , Daniel Vetter CC: , , References: <20240208-fd_remove_phys_ops_atomic_mode_set-v4-0-caf5dcd125c0@linaro.org> <20240208-fd_remove_phys_ops_atomic_mode_set-v4-3-caf5dcd125c0@linaro.org> From: Paloma Arellano In-Reply-To: <20240208-fd_remove_phys_ops_atomic_mode_set-v4-3-caf5dcd125c0@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 nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 50d6twWOAzyweXMOWpt8GvAyEkXJCEjq X-Proofpoint-GUID: 50d6twWOAzyweXMOWpt8GvAyEkXJCEjq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-09_16,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 spamscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 mlxlogscore=724 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402090136 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2/8/2024 7:20 AM, Dmitry Baryshkov wrote: > The atomic_mode_set() callback only sets the phys_enc's IRQ data. As the > INTF and WB are statically allocated to each encoder/phys_enc, drop the > atomic_mode_set callback and set the IRQs during encoder init. > > For the CMD panel usecase some of IRQ indexes depend on the selected > resources. Move setting them to the irq_enable() callback. > > Reviewed-by: Abhinav Kumar > Tested-by: Abhinav Kumar # sc7280 > Signed-off-by: Dmitry Baryshkov Tested-by: Paloma Arellano