]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12fbfc15a2ce6183f6a93114b2f582a6f3fcd1cc
treefd2d4a63c55ec6535b72959e3259f4e8e0f89ffd
parentd955d7d4f69e3059bc92685bf347a0563f1a637c
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