drm/i915/gvt: add/modify interfaces for flag F_CMD_ACCESS
authorYan Zhao <yan.y.zhao@intel.com>
Tue, 11 Aug 2020 07:02:33 +0000 (15:02 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Sep 2020 05:48:09 +0000 (13:48 +0800)
commit7e93a0806f5a8b42c0a845a02816b6f80d406f79
tree4f5774ce1396eb1d98d76f3b909e9db82ab9d6d0
parenta6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57
drm/i915/gvt: add/modify interfaces for flag F_CMD_ACCESS

flag F_CMD_ACCESS represents whether an MMIO is able to be accessed by
GPU commands.
In this patch,
1. add interface to set this flag
2. rename intel_gvt_mmio_is_cmd_access() to
intel_gvt_mmio_is_cmd_accessible() and update its description message.

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200811070233.3387-1-yan.y.zhao@intel.com
drivers/gpu/drm/i915/gvt/cmd_parser.c
drivers/gpu/drm/i915/gvt/gvt.h