]> 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)
commit4e319de92e578b1c7d7ed7aec6adfd321c29fd5f
treefd2265249e3d8180259b091f1f63987212496bc4
parenta62075e72052ef96d06f702ddc0a57341380e42b
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