Linux kernel patch by wenjia_zhou

Table of Contents

Next: , Up: (dir)   [Contents]

Linux kernel patch by wenjia_zhou

This manual is for program, version version.


Previous: , Up: Top   [Contents]

1 Intel_i915_gpu

Fix a memory leak in intel_gvt_init_gtt

Intel develop tree: https://github.com/01org/gvt-linux.git

commit 4c47ec60defb22fe5db110b8390c74353c85b4e6
Author: Zhou, Wenjia <zhiyuan_zhu@htc.com>
Date:   Tue Jul 4 15:47:00 2017 +0800

    drm/i915/gvt: Fix a memory leak in intel_gvt_init_gtt()

    It will causes memory leak, if the function setup_spt_oos() fail,
    in the function intel_gvt_init_gtt(),
    which allocated by get_zeroed_page() and mapped by dma_map_page().

    Unmap and free the page,  after STP oos initialize fail,
    it will fix this issue.

    Signed-off-by: Zhou, Wenjia <zhiyuan_zhu@htc.com>
    Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>