summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/cmd_parser.c
diff options
context:
space:
mode:
authorYan Zhao <yan.y.zhao@intel.com>2020-08-11 09:37:44 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2020-09-10 08:47:52 +0300
commita6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57 (patch)
tree26baafa5346f4c62cd007603296c4eeb06340e94 /drivers/gpu/drm/i915/gvt/cmd_parser.c
parent56d44649a7c207752be8907b801dd698b3451cad (diff)
downloadlinux-a6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57.tar.xz
drm/i915/gvt: remove flag F_CMD_ACCESSED
Flag F_CMD_ACCESSED is not used. just remove it. 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/20200811063744.3272-1-yan.y.zhao@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/cmd_parser.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/cmd_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/gvt/cmd_parser.c b/drivers/gpu/drm/i915/gvt/cmd_parser.c
index 018509eeb0fe..0292e3c1deb4 100644
--- a/drivers/gpu/drm/i915/gvt/cmd_parser.c
+++ b/drivers/gpu/drm/i915/gvt/cmd_parser.c
@@ -992,8 +992,6 @@ static int cmd_reg_handler(struct parser_exec_state *s,
}
}
- /* TODO: Update the global mask if this MMIO is a masked-MMIO */
- intel_gvt_mmio_set_cmd_accessed(gvt, offset);
return 0;
}