aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/cmd_parser.c
diff options
context:
space:
mode:
authorYan Zhao <[email protected]>2020-08-11 06:37:44 +0000
committerZhenyu Wang <[email protected]>2020-09-10 05:47:52 +0000
commita6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57 (patch)
tree26baafa5346f4c62cd007603296c4eeb06340e94 /drivers/gpu/drm/i915/gvt/cmd_parser.c
parentdrm/i915/gvt: rename F_IN_CTX flag to F_SR_IN_CTX (diff)
downloadkernel-a6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57.tar.gz
kernel-a6c5817a38cfaddb3b5b4b3f2bc4b3750f264c57.zip
drm/i915/gvt: remove flag F_CMD_ACCESSED
Flag F_CMD_ACCESSED is not used. just remove it. Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Yan Zhao <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
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;
}