drm/i915/gvt: Move common workload preparation into prepare_workload()
authorZhi Wang <zhi.a.wang@intel.com>
Tue, 12 Sep 2017 14:06:39 +0000 (22:06 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:46:53 +0000 (11:46 +0800)
commitd8235b5e55845de19983cec38af245cc200b81e2
tree1b58caab3903628af5ab8d73fc4a790ff1c2b621
parent497aa3f5e3bdb6bea5994f7075e2f2df2377d70e
drm/i915/gvt: Move common workload preparation into prepare_workload()

Move common workload preparation into prepare_workload() in scheduler.c,
as they are not specific to execlist emulation.

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