]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/mes12: optimize MES pipe FW version fetching
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Mar 2025 21:46:59 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:13 +0000 (16:48 -0400)
commit9e7b08d239c2f21e8f417854f81e5ff40edbebff
treef6e5f12330d8243c3a00657f41a3b09181359a0e
parentda7dc714a8f8e1c9fc33c57cd63583779a3bef71
drm/amdgpu/mes12: optimize MES pipe FW version fetching

Don't fetch it again if we already have it.  It seems the
registers don't reliably have the value at resume in some
cases.

Fixes: 785f0f9fe742 ("drm/amdgpu: Add mes v12_0 ip block support (v4)")
Reviewed-by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c