]> 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)
commitf42b1fd26a73bb93b2dacf17c80bdf135acda00c
tree4504f349a0e528bdd2c5e56600dba2953cbf7f15
parent15e5d1cc082132544fea6216396684ebd17d85e6
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