drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Jun 2020 16:19:42 +0000 (17:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Jun 2020 19:14:25 +0000 (20:14 +0100)
commitf9496520df11de00fbafc3cbd693b9570d600ab3
tree2bbc5d98d561970b28e35ea538391734957e41fa
parent250a353cd85f2d0b06ca73bd20accbe58bea8d82
drm/i915: Whitelist context-local timestamp in the gen9 cmdparser

Allow batch buffers to read their own _local_ cumulative HW runtime of
their logical context.

Fixes: 0f2f39758341 ("drm/i915: Add gen9 BCS cmdparsing")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.4+
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200601161942.30854-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_cmd_parser.c