From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E70E935C682; Tue, 21 Jul 2026 22:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671523; cv=none; b=HoSrBhtxNPMjPbdnBPo8WTqMOtacHSP0Sv9+zQDb9jaMw8ZLlCsbAZeLzupP/G1LGSuo+qzBfCWlzhOMM8vUgD3LCSjL4X87JBSbtIePTDhlhKuHkBJ8khuik47yjhWIKh/1qT+DinOXPoLhzqsuxHuVVytJm38fjTcris1Z9oY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784671523; c=relaxed/simple; bh=C1Cv9BHpFHQVyUo6E6loAB4KbUGXQYvSL2DOvQ+HARA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qEz3IlHDv98X6uQ7mefRKEHm2Qd3k5qRCKogSO8y99UcHIhXAfXZqfb5w1shcS741WsKl6Cm89aARCQIf2VHQOdnQf4x8H4kcAqnswx+vOmLGZWHDorQKE5So0yc4iRGZo99jcRDGah6MgJ2Yc1rVZbrnnLGkaLoxePWd2pAZmc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p423pijV; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="p423pijV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6048E1F000E9; Tue, 21 Jul 2026 22:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784671521; bh=niuajMdtAEC67ZDGTdCiD0idwfXEg3Ib3PooVwC6z00=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=p423pijV98ZyNSGP1GMyLhkQ4Rh+NEtIIcSj4SOkuI4PwceVeXlqoizmdh3dUQyrj BobDhy8hjLCszOq4ARjQukFs7kEXb39N4v7MMnDYqUIDIMnW3+BfnFccwCJqoXh80N PzCv8jMhGe1s0TVdpiEaHwljtbg/qb23Q1pX6eGw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jessica Zhang , Konrad Dybcio , Dmitry Baryshkov , Sasha Levin , Val Packett , Yongxing Mou Subject: [PATCH 5.15 279/843] drm/msm/dp: Fix the ISR_* enum values Date: Tue, 21 Jul 2026 17:18:34 +0200 Message-ID: <20260721152412.302581619@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152405.946368001@linuxfoundation.org> References: <20260721152405.946368001@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jessica Zhang [ Upstream commit 3fbfdc3b1d48cc115a86953e5df0c76cd2efc42b ] The ISR_HPD_* enum should represent values that can be read from the REG_DP_DP_HPD_INT_STATUS register. Swap ISR_HPD_IO_GLITCH_COUNT and ISR_HPD_REPLUG_COUNT to map them correctly to register values. While we are at it, correct the spelling for ISR_HPD_REPLUG_COUNT. Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Jessica Zhang Reviewed-by: Konrad Dybcio Tested-by: Val Packett # x1e80100-dell-latitude-7455 Tested-by: Yongxing Mou # Hamoa IOT EVK, QCS8300 Ride Signed-off-by: Dmitry Baryshkov Patchwork: https://patchwork.freedesktop.org/patch/727602/ Link: https://lore.kernel.org/r/20260524-hpd-refactor-v6-2-cf3ab488dd7b@oss.qualcomm.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/dp/dp_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index bbe350fab797c6..d32c1cf0e56ec6 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -34,9 +34,9 @@ enum { ISR_DISCONNECTED, ISR_CONNECT_PENDING, ISR_CONNECTED, - ISR_HPD_REPLUG_COUNT, + ISR_HPD_IO_GLITCH_COUNT, ISR_IRQ_HPD_PULSE_COUNT, - ISR_HPD_LO_GLITH_COUNT, + ISR_HPD_REPLUG_COUNT, }; /* event thread connection state */ -- 2.53.0