]> 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)
commit1e3197d6ad73ef34b71d96cfb37ddf0b7bddac0e
tree427ade394378da13f2b7c082e424106df041303d
parent0f43702a334b2848ae2e942dbc0677ddc4566b57
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