]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 2 Jun 2020 13:35:29 +0000 (16:35 +0300)
commitd4b07b7db79464e63631ca92ebdb2431ee4eb463
tree469bface8859868b428d438f8c1cd1edee589648
parent09047f19a4951327231b9c591e471c3114e40878
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: 135efd3524c1 ("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
(cherry picked from commit f9496520df11de00fbafc3cbd693b9570d600ab3)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_cmd_parser.c