]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: correct the ggtt valid bit check in pipe control command
authorYulei Zhang <yulei.zhang@intel.com>
Mon, 13 Mar 2017 15:21:27 +0000 (23:21 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Mar 2017 08:46:45 +0000 (16:46 +0800)
commitb651ce1b76239253445d31797ad35ae795a0ce83
tree7afd18541fa6799432d07e4a08341068b37f33ed
parent3104ff85dc8c8fceca873f32a19e3ca501a0f005
drm/i915/gvt: correct the ggtt valid bit check in pipe control command

GGTT valid bit in pipe control command move to DWORD1 after SNB, so
change the valid check code correspondingly.

v2:
per Zhenyu's comment, replace the bit check with MACRO define
PIPE_CONTROL_GLOBAL_GTT_IVB

Signed-off-by: Yulei Zhang <yulei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c