commit | 4fafba2d73fcaf1b433c26e753a98ad4b231754a | [log] [tgz] |
---|---|---|
author | Zhenyu Wang <zhenyuw@linux.intel.com> | Mon Dec 18 11:58:46 2017 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Fri Dec 22 16:33:50 2017 +0800 |
tree | 7e580f30760a3152cc514ec4eccef92088c7ba59 | |
parent | 90551a1296d4dbe0dccc4c3cb5e57e7f2c929009 [diff] |
drm/i915/gvt: move write protect handler out of mmio emulation function It's a bit confusing that page write protect handler is live in mmio emulation handler. This moves it to stand alone gvt ops. Also remove unnecessary check of write protected page access in mmio read handler and cleanup handling of failsafe case. v2: rebase Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>