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)
commitcb8ba171ae6c1e4f5fa027162c06d50fc2b43055
tree4504f349a0e528bdd2c5e56600dba2953cbf7f15
parent0438a1059877396319b90da289f1473c9c973cd8
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