]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1786e51df4eebbb4ba6a2163e5d0916aed083af2
treeb3a9770da2e434b93324318f16fb55f8698f2556
parentc3e03c7d9232c6c0cbb423daee726ca6bffcbeb5
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