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 0B0E440F8E8; Tue, 20 Jan 2026 11:06:57 +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=1768907218; cv=none; b=SO4LB8bbunAlnWeOjROp/v4zBu0Ylv7PMpXUAzy8e4/fn3io0UdTzBM0Yu9pCLubCUsK7Sv6pKuznZ+YpC0e8jYfU5x3IKuoyXoqd9Mie7rjxX8fF9GwDRq8TpFm+ppCuRGMxovy8kr39lR1k/FH37SS09DR0dhxSSaTOmVyY8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768907218; c=relaxed/simple; bh=npLLoCnIsqczxNA9Hs/1wfDzzJn16pRKpJhKKxnWtJE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sRMTljiMzWFGkfd5dwjQ/wN/v8aSDSKzCayDu9PVVyQd6tibN+4DOMurP/9WebTFzoo2pyipvU7plD05R98diCG1HxG7h1/e+yvET2O4KC7vaIigwShpYhCNp/4Slbl2Yg1veIt+GRyB+8UZJkvbBhASlfu6lS/fPe4yJpPwv5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hp1wDEO8; 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="hp1wDEO8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34483C16AAE; Tue, 20 Jan 2026 11:06:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768907217; bh=npLLoCnIsqczxNA9Hs/1wfDzzJn16pRKpJhKKxnWtJE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hp1wDEO8X6TAhp1ewNUDWF4k0xDeekv1YSWHreUYue4L9/K2vX+oRWoGyU87u9eBa ecId9FhBess1qZbUMOMuO/aamvKgh8aCslabA+04x9fgodcoB2+IsbiOVYzWjARlSa g99wmtVWFw0BCPWVCrN4YlSEUSKzl8LihmKWD96I= Date: Tue, 20 Jan 2026 12:06:50 +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: Re: [PATCH v6.1] drm/amd/display: Check dce_hwseq before dereferencing it Message-ID: <2026012033-jelly-hunger-fed8@gregkh> References: <20260115041919.825845-1-black.hawk@163.com> <2026011525-occupier-hangout-ac24@gregkh> <52c400f8.2ab6.19bc4bce26e.Coremail.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: <52c400f8.2ab6.19bc4bce26e.Coremail.black.hawk@163.com> On Fri, Jan 16, 2026 at 10:57:51AM +0800, Rahul Sharma wrote: > > > > > > > > > > > > > > At 2026-01-15 19:44:04, "Greg KH" wrote: > >On Thu, Jan 15, 2026 at 12:19:19PM +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(-) > > > >We need 6.6.y backport first, before we can take this one, for obvious > >reasons (i.e. you do not want to have a regression). Can you submit > >that one first and then this again? > > > > Thanks Greg, I have sent out the backported patch for 6.6.y. Great, can you resend this one as well? It's long-gone from my mail system. thanks, greg k-h