]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Refine error handling for perform_bb_shadow
authorfred gao <fred.gao@intel.com>
Fri, 18 Aug 2017 07:41:11 +0000 (15:41 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 8 Sep 2017 06:21:15 +0000 (14:21 +0800)
commit7a057a7899427c053d534f68e4cff2808d6233f2
tree427ade394378da13f2b7c082e424106df041303d
parentac45d71102579d6a4e9d70832b68bc83de2d7184
drm/i915/gvt: Refine error handling for perform_bb_shadow

fix the wrong return type and return error once the unknown
command is scanned.

v2:
- separate this error handle from healthy rating code. (Zhenyu)

Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c