drm/i915/gvt: fix error handing of tlb_control emulation
authorChangbin Du <changbin.du@intel.com>
Tue, 27 Dec 2016 05:24:52 +0000 (13:24 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jan 2017 03:05:56 +0000 (11:05 +0800)
commita12010534d0984f91bc5bdcf9e27bd55e20d82da
tree4d2c31974badb72ac329e9e6afc2e1c1264932d7
parent3e70c5d6ea510e38f612d07fa0fd7487277b7087
drm/i915/gvt: fix error handing of tlb_control emulation

Return ealier for a invalid access, else it would false set
tlb flag for RCS.

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