Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp695630lqh; Thu, 28 Mar 2024 13:26:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2GLxghXytyW5T4GkxOUXsgJmfLIYy/U3LLRna1LTuCIz0B6ubNZf2JfA97DEjQ0QUmP8Z1kmNgqul/c2M2e3rQxode3UKpc9w1BKrhg== X-Google-Smtp-Source: AGHT+IHDTk4/acLgmaNNWILHTT9k3vF38595yymxI4PB5bozpjNr7bZmeT9AWmehNO3mZYkZhBld X-Received: by 2002:a05:620a:4621:b0:78a:6e8c:f9a1 with SMTP id br33-20020a05620a462100b0078a6e8cf9a1mr745751qkb.1.1711657594204; Thu, 28 Mar 2024 13:26:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711657594; cv=pass; d=google.com; s=arc-20160816; b=avvU+GVjt32LCQHHXxy8Tyo/MkeQHqlYnSEq6ZER3ewavA0TNxcJ+FQ6NUmm3JrU3l oQVkt/6tBj20vdVTJ7xW9Xcu/M/JgD8an2RwR0K9/wWnNBQXpHQrQ3pXqmLXfe1KhjyY JA/PK3aktsYKNGqvq32Fu3cXjvtbRaAhrioo3huxzptr4qO0+0+P4uWeB7oXsDJp2bH5 Jy5hOGSXoNm7S2q+zFcZWHEpnG+osRfbey29HFLjXA8rHeMq/r9L32BeeY1Y52Gu0qko uRIaAl5oR2L+md5N43+q0abFU5mEDXDE7fxawZb8eqGHaWDtmyoUNgGEszg+uTTWiL7B IBCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TXLmFLlzA/Fy9pUe2OqNGbO48JH9rpbJApRfQlvaxk8=; fh=WiMWumudEqHpSt1D/cKrm4poaOjDn3AHmRn9euKKF0o=; b=wptDWFL8lZdmtSviNWdOUvqeOTFhezCPx6zTT61Zg/LLc3i+IHiIoKFPcMbR4QDI/2 c2YruOlWfJoUUAiCuZFHrpSVUqQEqL5JvfA9FB41x7n6sCklhqdBR4plFjoOnb5SyZ4z 8dHFPZbageQ3QDGfbPB3qMKbOjSOO4u0/By0I9hFmvSX0NXWDIVCnUxvttJu6521z4kw /mLjHs79oterN2qPwO78DJemHT6d82gTmXXem8h8CkOwYSdwLLm7BT7QB+aOHVzNeQp1 0jjlToULg6gF5XKYx//+IcbQZPeXg7r2bhFf97dehCrCZy9NiqHBCTg8V5zG8l5X0XkT oguA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NjBtLTQD; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-123578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w10-20020a05620a444a00b0078bc6019215si572531qkp.494.2024.03.28.13.26.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:26:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NjBtLTQD; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-123578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E78A91C302E7 for ; Thu, 28 Mar 2024 20:26:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED99913B591; Thu, 28 Mar 2024 20:24:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="NjBtLTQD" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C760813AD36; Thu, 28 Mar 2024 20:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711657496; cv=none; b=oygy/FGGQGW9sPDkKGX5zWYWsHkGhJN9ndGxlgElvqmfY+ldKo4yz14P/jiO9AhKbZXxp6nJ91IoR1HRrpGlvJHFUCra2MY7X1M0BLaJkOOp4CnUBLiqbTDF8yFnj72quDij3N4wqN0Iwtkuge/RMhgxPkIT/zFJSjUOOwZsWkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711657496; c=relaxed/simple; bh=PIRIvrYiHNZgQf3d/hLxVGZTRs6ZytJARCae/W3aJZQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=bN6cS/mQxxAibxc75d7fH9dO0TiIZ8wEuE1MW83kn+LuhqDmsy9aBbBSEVcv4j61Q/eh8mWa/idq+lnax8KhjtXmp2mCNXef8uoujD9ya5BgRJ0jZXISzFKgiLMb2xGml8K8qAq/pdFkz96C5LjkdF1Thpduoe7XwMVOfHeXLIc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=NjBtLTQD; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42SIJEQZ017493; Thu, 28 Mar 2024 20:24:43 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=TXLmFLlzA/Fy9pUe2OqNGbO48JH9rpbJApRfQlvaxk8=; b=Nj BtLTQDs6aOc4iMHBBDxNq4d0bu96YBwVo/dYgSFTdveaDn02YluqXUa2fHCsHJBz HWQlAHHLe+auPLOlWWk5t3RTkwtEUfcR90+oR45Maq3QvMrP63hIiLP6kWErtmzl seOmpyQSwKlMMDt0FjPlnbG+NgR4ZltVbgndn9dyT2jZ81d7nbAIQHnZUNRwz2Ev gvkAoG+Nj9s737Zi/hEmI2eppZWgZFoGGCAZT5l72dKgaX6DIXosL3AoGoqjUzLb lrXbOOwh/xe40YuI7rVUROFpaRk/EiYfNUznGH2Y3qPLx+BRnySDDCprxVHvnGBu NGJLs1mrstB1qwyu/qDg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5aeg8x73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 20:24:43 +0000 (GMT) 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 42SKOfAI008710 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 20:24:41 GMT Received: from [10.71.109.81] (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; Thu, 28 Mar 2024 13:24:36 -0700 Message-ID: <55debb0a-c7af-ef71-c49a-414c7ab4f59d@quicinc.com> Date: Thu, 28 Mar 2024 13:24:34 -0700 Precedence: bulk X-Mailing-List: linux-kernel@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 v1] drm/msm/dp: use dp_hpd_plug_handle() and dp_hpd_unplug_handle() directly Content-Language: en-US To: Kuogee Hsieh , , , , , , , , , , , , , Johan Hovold , Bjorn Andersson CC: , , , , , References: <1711656246-3483-1-git-send-email-quic_khsieh@quicinc.com> <1711656246-3483-2-git-send-email-quic_khsieh@quicinc.com> From: Abhinav Kumar In-Reply-To: <1711656246-3483-2-git-send-email-quic_khsieh@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: 22RjLSnJ9oM0GTsHGxvgET7PocTL5uIN X-Proofpoint-GUID: 22RjLSnJ9oM0GTsHGxvgET7PocTL5uIN 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-03-28_17,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 clxscore=1015 mlxlogscore=884 impostorscore=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403280145 + Johan and Bjorn for FYI On 3/28/2024 1:04 PM, Kuogee Hsieh wrote: > For internal HPD case, hpd_event_thread is created to handle HPD > interrupts generated by HPD block of DP controller. It converts > HPD interrupts into events and executed them under hpd_event_thread > context. For external HPD case, HPD events is delivered by way of > dp_bridge_hpd_notify() under thread context. Since they are executed > under thread context already, there is no reason to hand over those > events to hpd_event_thread. Hence dp_hpd_plug_handle() and > dp_hpd_unplug_hanlde() are called directly at dp_bridge_hpd_notify(). > > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/dp/dp_display.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Fixes: 542b37efc20e ("drm/msm/dp: Implement hpd_notify()") Looks right to me, Reviewed-by: Abhinav Kumar