]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Refine the intel_vgpu_mm reference management
authorChangbin Du <changbin.du@intel.com>
Tue, 30 Jan 2018 11:19:41 +0000 (19:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 6 Mar 2018 05:19:14 +0000 (13:19 +0800)
commit89c6929ead4c8090b45e25a22bac7e4e21058c6f
treef94364f0f50d3573629ac86094d72d57250dd760
parent4b5dddbdc7797133a528e5936fa59dc95eb3a5b0
drm/i915/gvt: Refine the intel_vgpu_mm reference management

If we manage an object with a reference count, then its life cycle
must flow the reference count operations. Meanwhile, change the
operation functions to generic name *put* and *get*.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c
drivers/gpu/drm/i915/gvt/gtt.h
drivers/gpu/drm/i915/gvt/scheduler.c