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 C6CDB70838; Mon, 23 Jun 2025 21:07:09 +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=1750712829; cv=none; b=RpRZ+Rue7o//hmEV0E0xdSYJC8JKh+K+YVIB5QnrXlStgz4uOX0gzqEJi9L9TyqN0q7TZHSg2NVs6BVMaK2Qbnkswld8os9hkU2mFQDoMfCV8+aqE+wRTrJQj/ml1+NB8tA3uVKMK+mxUJ5srrvenHdGJEnV8ZQI5b0lrj8PMg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750712829; c=relaxed/simple; bh=WhyR74KPO1cRrKYMwn4TTVa+88VYpcnQUoM16beUx3Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=q72DEdLjUSSd/nRnY5IjuDQfAyXM8jeoFJISGmnigAGD+YcsC37wkDv4DWs01G33GX96RPnciiFiA6CtWWnlaHdx4wT1TCoblYlrcIFwXnpcXIAYxg4ARQTuk9V8+OqQjr4xX0Muk8I8CzxVwRy99t7E/i783oFSh9Rva8gwl/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K/4AOOci; 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="K/4AOOci" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FA68C4CEEA; Mon, 23 Jun 2025 21:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750712829; bh=WhyR74KPO1cRrKYMwn4TTVa+88VYpcnQUoM16beUx3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K/4AOOciPaGMzwcJwl6soxEjuGjZolAaOf6xrDlmUHnDfD1fRDWVLWYre0jsNbgUJ 4gWHTvC7a3Qra6GY5YoG2R5yLKN57X2pzKkBGJAROI7uDRrG/EZbKcu7y6R3VRDcRp v4uiNWpdERNYfpmxa49/CuG+c9Em25PfIxUH/A3E= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Rodrigo Siqueira , Alex Deucher , Sasha Levin Subject: [PATCH 6.15 290/592] drm/amdgpu/gfx8: fix CSIB handling Date: Mon, 23 Jun 2025 15:04:08 +0200 Message-ID: <20250623130707.263212727@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130700.210182694@linuxfoundation.org> References: <20250623130700.210182694@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher [ Upstream commit c8b8d7a4f1c5cdfbd61d75302fb3e3cdefb1a7ab ] We shouldn't return after the last section. We need to update the rest of the CSIB. Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index bfedd487efc53..fc73be4ab0685 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -1248,8 +1248,6 @@ static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, PACKET3_SET_CONTEXT_REG_START); for (i = 0; i < ext->reg_count; i++) buffer[count++] = cpu_to_le32(ext->extent[i]); - } else { - return; } } } -- 2.39.5