]> 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)
commit42d49fcd264ef89191f57868ca2b812e180270c7
tree7afd18541fa6799432d07e4a08341068b37f33ed
parent29aef3fba8d333889416dfa20f1ad3f3029512f3
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