diff options
author | Kairui Song <kasong@redhat.com> | 2020-10-14 17:24:29 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-10-14 17:05:26 +0200 |
commit | 3cb73bc3fa2a3cb80b88aa63b48409939e0d996b (patch) | |
tree | 6edcab69824ba2091be7575c6fec1f8683d6eac8 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
parent | afc18069a2cb7ead5f86623a5f3d4ad6e21f940d (diff) |
hyperv_fb: Update screen_info after removing old framebuffer
On gen2 HyperV VM, hyperv_fb will remove the old framebuffer, and the
new allocated framebuffer address could be at a differnt location,
and it might be no longer a VGA framebuffer.
Update screen_info so that after kexec the kernel won't try to reuse
the old invalid/stale framebuffer address as VGA, corrupting memory.
[ mingo: Tidied up the changelog. ]
Signed-off-by: Kairui Song <kasong@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Dexuan Cui <decui@microsoft.com>
Cc: Jake Oshins <jakeo@microsoft.com>
Cc: Wei Hu <weh@microsoft.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Link: https://lore.kernel.org/r/20201014092429.1415040-3-kasong@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions