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 9B49A415F2C; Tue, 21 Jul 2026 17:48:45 +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=1784656127; cv=none; b=RnsMf/gCH0T/4vQs8T0xxTyyFvlm82qr+nsFNUvGOVGkuDvJZBmjHN0TJx7AQJ+t2x+CkSsXJe8jsKiE8lL/5RColjEQeSA7lAYADXQrJ0TuIE7OdTOQq3jX681rNg1yiRO4GTTsAGuF86YRK+2aGkVLQ0RfTE6TzqwA0ZPhgK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784656127; c=relaxed/simple; bh=7BJoXaQzW0g2YpX3K7o1+IjYICqVxJdtkc6domp4Jck=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rYxWVmgcVC/kqCXFaCTvlU4tMoppfkbwX/WVkr5ljuKhfWFWKiSpDzQmfqHq9hBXtLXKKxGt5+zLlt/fali+9rDUrjv6DU+YaOXkSpfLngEu2Za6vCvWPszalyDLUpXpituVdEInr/L11r9K5eHCOCC69ZsRg1giikdVY9BpMP8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s+ZaHTyh; 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="s+ZaHTyh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8855A1F00ACA; Tue, 21 Jul 2026 17:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784656125; bh=vPUJM+Lr21/BoWIz7rzSDK8PXOWroyRXE4cRbu+BLYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=s+ZaHTyh9qF38niVtNUe2fORG+v7SCuNAtuVlLRy08LVG7lkuZYAKRGE+iLAa9lhX I06ZQkQyGU5i+DS9BGVgnOaNmcH4iLu9QfBNs5BMjJh5YLfSR7RfD4IEO6EcrSsGmW lcGij7M+IzwtqmKbCF3a5hzKLZGkQMLEt6lLipmg= 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 6.18 0268/1611] drm/msm/dp: Fix the ISR_* enum values Date: Tue, 21 Jul 2026 17:06:24 +0200 Message-ID: <20260721152521.077674774@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152514.750365251@linuxfoundation.org> References: <20260721152514.750365251@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 6.18-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 c79e624c117583..c6f5422b60ddb6 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -38,9 +38,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