]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: let force_to_nonpriv cmd handler only valid for LRI cmd
authorZhao Yan <yan.y.zhao@intel.com>
Tue, 8 May 2018 06:52:50 +0000 (14:52 +0800)
committerZhi Wang <zhi.a.wang@intel.com>
Sun, 13 May 2018 21:18:56 +0000 (05:18 +0800)
commitd2d7eee6e9b1215ef01f831a2c43b44320195ad9
tree4504f349a0e528bdd2c5e56600dba2953cbf7f15
parent491ba54a29a81d385fc72b70920abe3123b909d2
drm/i915/gvt: let force_to_nonpriv cmd handler only valid for LRI cmd

the cmd_reg_handler() is called by cmds LRM, PIPE_CTRL, SRM...
for LRM, SRM, we cannot get write data in a simple way.
On other side,  the force_to_nonpriv reigsters will only be written in LRI
in current drivers. so we don't want to bother the handler to handle those
memory access cmds, just leave a print message here.

Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c