drm/i915/gvt: add write vreg in MMIO DMA_CTRL handler
authorPing Gao <ping.a.gao@intel.com>
Thu, 27 Oct 2016 06:46:40 +0000 (14:46 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 7 Nov 2016 06:16:58 +0000 (14:16 +0800)
commit5f399f1158959a112d98ade5380464da29ba646c
tree59eb0a6700928d18e4282632550477c57c1d1071
parent337d0665270ad1ebcbd58ddc1ce7769852f2391b
drm/i915/gvt: add write vreg in MMIO DMA_CTRL handler

Missing write_vreg in DMA_CTRL write handler would make obsolete
value return when read vreg.

v2: get data from vreg after updating it.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c