#undef IRQ_DISABLE #undef IRQ_ENABLE #undef IRQ_ENTER #undef IRQ_EXIT #define IRQ_DISABLE SOFTIRQ_DISABLE #define IRQ_ENABLE SOFTIRQ_ENABLE #define IRQ_ENTER SOFTIRQ_ENTER #define IRQ_EXIT SOFTIRQ_EXIT h/favicon.ico'/>
summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-13 11:15:57 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-13 15:05:38 +0800
commitb611581b375ce28536ab50be9cd507bb6092fb1e (patch)
treec73b6ebbc6015e7a5fbc95f5eea89488adf936c3 /drivers
parentd22a48bf7302ef064295749fa79cd47093c5a000 (diff)
drm/i915/gvt: introuduce intel_vgpu_reset_gtt() to reset gtt
This patch introduces a new function intel_vgpu_reset_gtt() to reset the all GTT related status, including GGTT, PPGTT, scratch page. This function can free all shadowed PPGTT, clear all GGTT entry, and clear scratch page to all zero. After this, we can ensure no gtt related information can be leakaged from one VM to anothor one when assign vgpu instance across different VMs (not simultaneously). Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers')