]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/gfx12.1: Don't fetch default register values from hardware in mqd init
authorLang Yu <lang.yu@amd.com>
Tue, 19 Aug 2025 10:54:30 +0000 (18:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:55 +0000 (16:59 -0500)
commit80be8286d098dc92cc48ab2d0f459dbb5cfde055
tree78cda4e9058ff2dac24da382f167366775ac48cf
parente291729873095262697758c389c8d7affa81bdcc
drm/amdgpu/gfx12.1: Don't fetch default register values from hardware in mqd init

1. We can't assure the fetched values are always default register values.
   Observing non-zero cp_hqd_pq_rptr in mes_v12_1_self_test->init_mqd()
   where no GRBM_GFX_CNTL is specified.

2. See commit fc3c139cf043 ("drm/amdgpu/gfx12: don't read registers in mqd init").

Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c