]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix gfx VF FLR test fail on navi
authorHaiJun Chang <HaiJun.Chang@amd.com>
Tue, 29 Oct 2019 07:44:08 +0000 (15:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:07:13 +0000 (11:07 -0400)
commit5a1df854b8281c02323c1b8e87306863e7398f5c
tree0ab822552cdb18042e8f68dff8b0b48cb0ab15fb
parentf6ba7bf67e9c5f4f6f2c777611eca95060ec22d9
drm/amdgpu: fix gfx VF FLR test fail on navi

Cp wptr in wb buffer is outdated after VF FLR.
The outdated wptr may cause cp to execute unexpected packets.
Reset cp wptr in wb buffer.

Signed-off-by: HaiJun Chang <HaiJun.Chang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c