drm/i915/gvt: remove redundant platform check for mocs load/restore
authorChangbin Du <changbin.du@intel.com>
Thu, 6 Apr 2017 02:55:43 +0000 (10:55 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 12 Apr 2017 05:57:46 +0000 (13:57 +0800)
commit80901ca879083ecb5fd08a8d3413220bec9612ac
treeb3a9770da2e434b93324318f16fb55f8698f2556
parente1236bc06c534a97f73e09aed5e1094108553e9f
drm/i915/gvt: remove redundant platform check for mocs load/restore

The platform check is done outside, no need check again. Platform doesn't
include mocs should not invoke this two functions.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/render.c