OSDN Git Service

drm/i915/gvt: Refine find_bb_size()
authorZhi Wang <zhi.a.wang@intel.com>
Fri, 22 Sep 2017 13:12:03 +0000 (21:12 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:21 +0000 (11:48 +0800)
commit58facf8c46160706ccb3b7b3768c0f0e29407548
tree007486b8b084ca3b147db3e4256da1841cf3f92d
parent5e86ccefa3c4e2d12acd7f5fc417ea120edbca21
drm/i915/gvt: Refine find_bb_size()

Returns the error code if something is wrong and the size of batch buffer
is passed through the pointer.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c