]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu/mes11: optimize MES pipe FW version fetching
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Mar 2025 21:33:49 +0000 (17:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 18:30:10 +0000 (14:30 -0400)
commitb71a2bb0ce07f40f92f59ed7f283068e41b10075
treec9e4b945683afd5ea29de70a8e5ab7f24eca80aa
parentdce8bd9137b88735dd0efc4e2693213d98c15913
drm/amdgpu/mes11: 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: 028c3fb37e70 ("drm/amdgpu/mes11: initiate mes v11 support")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4083
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c