commit | f4b0c2860b530e06ddaa5b5df31ab4171ac6e9eb | [log] [tgz] |
---|---|---|
author | Du, Changbin <changbin.du@intel.com> | Fri Nov 11 10:31:37 2016 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Mon Nov 14 18:06:43 2016 +0800 |
tree | e531b0b485e1e41013bf8486ce480797cec0ad0c | |
parent | 0427f06aec4222e0712b2efba1ac60ff56a1c336 [diff] |
drm/i915/gvt: fix mem leakage in setup_vgpu_mmio for vgpu reset Gvt gdrst handler handle_device_reset() invoke function setup_vgpu_mmio() to reset mmio status. In this case, the virtual mmio memory has been allocated already. The new allocation just cause old mmio memory leakage. Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>