drm/i915/gvt: use directly assignment for structure copying
authorChangbin Du <changbin.du@intel.com>
Thu, 6 Apr 2017 02:56:03 +0000 (10:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 12 Apr 2017 05:57:56 +0000 (13:57 +0800)
commitfd3bd0a99cffffe476d54edd2eb13b52b1e9a27d
treee70f021cf01d7568ada71c61b015a13f4095db63
parent43c29e1f449d596ed92f12cc19e41d9731ec3312
drm/i915/gvt: use directly assignment for structure copying

Let c compiler handle the structure copying. The compiler will use
builtin function to handle that.

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