diff options
author | Zhigang Luo <Zhigang.Luo@amd.com> | 2024-04-16 16:35:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-08 07:53:04 +0200 |
commit | 40b834caf319c62fedc4a41ff82878481f347ca9 (patch) | |
tree | 43d57f3fa2839a42bc90f6a65bde0488fe68da62 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ef18f5c7cdad6d98a2ce07efd6d287fcc8ad490d (diff) |
drm/amdgpu: avoid reading vf2pf info size from FB
[ Upstream commit 3bcc0ee14768d886cedff65da72d83d375a31a56 ]
VF can't access FB when host is doing mode1 reset. Using sizeof to get
vf2pf info size, instead of reading it from vf2pf header stored in FB.
Signed-off-by: Zhigang Luo <Zhigang.Luo@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions