commit | 20a2bcdec5071f78bebe48c5eecdb89de6e96acb | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.com> | Sat Oct 14 06:34:46 2017 +0800 |
committer | Zhi Wang <zhi.a.wang@intel.com> | Fri Oct 27 01:39:00 2017 +0800 |
tree | 88277af9542d5e686b01d660aaf34cb366269282 | |
parent | edee7ecdb4d7311f351feaeb53e269f416bb1b57 [diff] |
drm/i915/gvt: Extract mmio_read_from_hw() common function The mmio read handler for ring timestmap / instdone register are same as reading hw value directly. Extract it as common function to reduce code duplications. Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>