drm/i915/gvt: Audit the command buffer address
authorPing Gao <ping.a.gao@intel.com>
Tue, 4 Jul 2017 08:09:58 +0000 (16:09 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 11 Jul 2017 05:46:58 +0000 (13:46 +0800)
commit3364bf5fd00f0391ad090f547932a5c4b2068dbc
treefd2d4a63c55ec6535b72959e3259f4e8e0f89ffd
parent0de98709896d9c02ce3121ec3afb524253a5853f
drm/i915/gvt: Audit the command buffer address

The command buffer address in context like ring buffer base address
and wa_ctx address need to be audit to make sure they are in the
valid GGTT range.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c