drm/amdgpu/gfx12: don't read registers in mqd init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2025 21:08:03 +0000 (16:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Mar 2025 03:10:30 +0000 (23:10 -0400)
commitfc3c139cf0432b79fd08e23100a559ee51cd0be4
treeede653b75eb1b2d103950690a2a13327f20acdf8
parente27b36ea6ba5f29e91fcfb375ea29503708fcf43
drm/amdgpu/gfx12: don't read registers in mqd init

Just use the default values.  There's not need to
get the value from hardware and it could cause problems
if we do that at runtime and gfxoff is active.

Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c