e048834c20
The Hyper-V DRM driver tries to free MMIO region on removing
the device regardless of VM type, while Gen1 VMs don't use MMIO
and hence causing the kernel to crash on a NULL pointer dereference.
Fix this by making deallocating MMIO only on Gen2 machines and implement
removal for Gen1
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
hyperv_drm.h | ||
hyperv_drm_drv.c | ||
hyperv_drm_modeset.c | ||
hyperv_drm_proto.c |