]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Make elsp_dwords in the right order
authorZhi Wang <zhi.a.wang@intel.com>
Sun, 10 Sep 2017 08:40:04 +0000 (16:40 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:46:07 +0000 (11:46 +0800)
commit82aa0910329dc1286e90ebf4d1368cefdffeb19b
treefd2265249e3d8180259b091f1f63987212496bc4
parentf8191ff5cb13bbdf6f75f4fbc1afb9129f468a74
drm/i915/gvt: Make elsp_dwords in the right order

The context descriptors in elsp_dwords are stored in a reversed order and
the definition of context descriptor is also reversed. The revesred stuff
is hard to be used and might cause misunderstanding. Make them in the right
oder for following code re-factoring.

Tested on my SKL NUC.

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