drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0
authorColin Xu <colin.xu@intel.com>
Fri, 11 Jan 2019 06:25:54 +0000 (14:25 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 14 Jan 2019 04:33:28 +0000 (12:33 +0800)
commitba0a64bcf8fc491f73e4646069d97abb4374beb3
tree4827269d350f77dc2a8e4d45347f6258959762f5
parentf0e9943725186ddbdc9718a559c26c5f507262f2
drm/i915/gvt: Allow F_CMD_ACCESS on mmio 0x21f0

The newly updated guest driver could program 0x21f0 via lri and srm,
without F_CMD_ACCESS flag cmd parser will stop parser reset cmd.
0x21f0 applies to BDW, SKL, KBL, BXT and CFL.

Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Colin Xu <colin.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c