commit | 4f870f1fba3443705389d9a2405c10c1cf73f2e0 | [log] [tgz] |
---|---|---|
author | Gao, Fred <fred.gao@intel.com> | Thu Jul 18 09:39:01 2019 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Tue Aug 13 17:55:06 2019 +0800 |
tree | c994ebcc4ee8b13ae2b4a70d60dfc6f4f55f0e86 | |
parent | 8cfbca7848ffe3f5d49155748814cd68a774e449 [diff] |
drm/i915/gvt: Utility for valid command length check Add utility for valid command length check. v2: Add F_VAL_CONST flag to identify the value is const although LEN maybe variable. (Zhenyu) v3: unused code removal, flag rename/conflict. (Zhenyu) v4: redefine F_IP_ADVANCE_CUSTOM and move the check function to next patch. (Zhenyu) Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Gao, Fred <fred.gao@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>