From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 596E62773CA; Thu, 15 Jan 2026 11:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768477702; cv=none; b=u98ZX1LSvTo908C8T4HCHPaJGxjCcC5PzhWUuypTNtPrTqLWrOENsYVF0a/3QaqWWQg/DKLo+Vq9qjf7+seF9+fjiSrnKLK7np+hFXBQN59FGuYlqGcts9hrwuMTQcrN3r6mrzagpOOTNGQO/LY6P2fK2ARFTjylM/a/izFS2sQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768477702; c=relaxed/simple; bh=Lrw8/33E7aNVthqUIfK4Pgp3GN9Pr7qx6IqNYKilU9k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EweM/iQNsUo9rVfS74l6TiHNy+2Gx9Q1bbH9wkY4FwR0J2F+2UJ8q0d3vwO4njbj+TFErWp7jpkwvn1HK61YoUaAJsPkT62c1vcNzEJBiXroK6X/8T4uBtQSHMQtHrgmU1bLaaxJtLH2eRuaoiKJ/zaUJKNLhCtzwpaC0O6+E0o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d+R8uEkt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="d+R8uEkt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 956E6C116D0; Thu, 15 Jan 2026 11:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768477702; bh=Lrw8/33E7aNVthqUIfK4Pgp3GN9Pr7qx6IqNYKilU9k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d+R8uEkt/Y2GF8XUqvgj3XW0jsWvxq/3mMCZDm70WnghUVjBu8OrWizDQ2xcw/XIB /2FTloHGaeL6F+Z2USQwUBus8Y/s94T91eh0XsfzBRagPJAoDcryPwXGa+eN8o5mic IeawYE2Eh0t4t2QrT8USV+9bOyDAKPiUUCn26AEA= Date: Thu, 15 Jan 2026 12:48:19 +0100 From: Greg KH To: Rahul Sharma Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Alex Hung , Mario Limonciello , Alex Deucher , Aurabindo Pillai Subject: Re: [PATCH v5.15] drm/amd/display: Check dce_hwseq before dereferencing it Message-ID: <2026011507-kindling-cadet-8fbc@gregkh> References: <20260115080057.339115-1-black.hawk@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260115080057.339115-1-black.hawk@163.com> On Thu, Jan 15, 2026 at 04:00:57PM +0800, Rahul Sharma wrote: > From: Alex Hung > > [ Upstream b669507b637eb6b1aaecf347f193efccc65d756e commit ] > > [WHAT] > > hws was checked for null earlier in dce110_blank_stream, indicating hws > can be null, and should be checked whenever it is used. > > Cc: Mario Limonciello > Cc: Alex Deucher > Reviewed-by: Aurabindo Pillai > Signed-off-by: Alex Hung > Signed-off-by: Aurabindo Pillai > Signed-off-by: Alex Deucher > (cherry picked from commit 79db43611ff61280b6de58ce1305e0b2ecf675ad) > Cc: stable@vger.kernel.org > [ The context change is due to the commit 8e7b3f5435b3 > ("drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off") > and the commit a8728dbb4ba2 ("drm/amd/display: Refactor edp power control") > and the proper adoption is done. ] > Signed-off-by: Rahul Sharma > --- > drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Again, need a 6.6.y version of this, thanks. greg k-h