]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix failure mapping legacy queue when FLR
authorLin.Cao <lincao12@amd.com>
Fri, 31 May 2024 06:02:39 +0000 (14:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:14 +0000 (11:25 -0400)
commitc8ad1bbbc2751063c7a5825911e58996ef849628
tree72e5ab7c71b178f6dcdee5643ed5f4dafa5a7fdf
parent2874129903600907bb29b5df15258b95630548f3
drm/amdgpu: fix failure mapping legacy queue when FLR

Flag "mes.ring.shced.ready" will be set as true after mes hw init and set
as false when mes hw fini to avoid duplicate initialization. But hw fini
will not be called when function level reset, which will cause mes hw
init be skipped during FLR, which will leads to mapping legacy queue
fail. Set this flag as false when post reset will fix this issue.

Signed-off-by: Lin.Cao <lincao12@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c