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 45FDD26980C; Tue, 8 Apr 2025 12:13:33 +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=1744114413; cv=none; b=BGutTrbpvu+hO3VXTbRZ873h+1GVakieJTUhmaWWp/DBbodtNTNmf5WPPsqYcOrZaBuyF64MC/z55ZzvrdMBpzp03heAcxLv6TLeksfxrfBtYDvadUGMSAuNRjQvzLnu3cMjaZqMGpYNVcG/y6KmL7ilJJkjg+AhSonRtahfC50= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744114413; c=relaxed/simple; bh=UQIwZdN0PPc0mwKO9t9mKAt88XIblDgECqMws8xwZkk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FETT53jEA8Xsuhzz9cg01vIH34KHul0moh2xHbJTuta7V/uoCMmkNrfvUOEeJnbk1l0RsgGA7JxWBffIlaph5YW5wOfby94+oyQV8IahXGfrRKoPAgZP6ed/Cav2yHCKQTJIptqMEEm/4nlY+DiTqIKLaEEVr4gFgCuqyutsn3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RKzu0tAs; 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="RKzu0tAs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1BF4C4CEE5; Tue, 8 Apr 2025 12:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744114413; bh=UQIwZdN0PPc0mwKO9t9mKAt88XIblDgECqMws8xwZkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RKzu0tAsI5op1rwzdIGC6dGVI0jWrXMYzegxwTqKR8IHrjwYGODIVBb3fayvWF7aT K5D7OzRBuEbYqgjRQ6c+cavtLpJIQbazwSdgfc/bjpLCM86uF/7Yg8drA4n/bINs9f DvwtGkfPIOP3Viw++bjSGk/wyLfoS2N+sezOaCdc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Rob Clark , Sasha Levin Subject: [PATCH 6.13 098/499] drm/msm/a6xx: Fix a6xx indexed-regs in devcoreduump Date: Tue, 8 Apr 2025 12:45:10 +0200 Message-ID: <20250408104853.660337103@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104851.256868745@linuxfoundation.org> References: <20250408104851.256868745@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.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rob Clark [ Upstream commit 06dd5d86c6aef1c7609ca3a5ffa4097e475e2213 ] Somehow, possibly as a result of rebase gone badly, setting nr_indexed_regs for pre-a650 a6xx devices lost the setting of nr_indexed_regs, resulting in values getting snapshot, but omitted from the devcoredump. Fixes: e997ae5f45ca ("drm/msm/a6xx: Mostly implement A7xx gpu_state") Signed-off-by: Rob Clark Patchwork: https://patchwork.freedesktop.org/patch/640289/ Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c index 0fcae53c0b140..159665cb6b14f 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c @@ -1507,6 +1507,8 @@ static void a6xx_get_indexed_registers(struct msm_gpu *gpu, /* Restore the size in the hardware */ gpu_write(gpu, REG_A6XX_CP_MEM_POOL_SIZE, mempool_size); + + a6xx_state->nr_indexed_regs = count; } static void a7xx_get_indexed_registers(struct msm_gpu *gpu, -- 2.39.5