]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cmdparser: Add the TIMESTAMP register for the other engines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:17:11 +0000 (17:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:58 +0000 (22:36 +0100)
commite61f3be73820ff6490b20cc7600c94ef0942a96f
treedfd8712e479120ea5bda5bab91f8dff3a68ad4e6
parent2e1a464cb674e0c4eefedca6cf44cf1040d98dd6
drm/i915/cmdparser: Add the TIMESTAMP register for the other engines

Since I have been using the BCS_TIMESTAMP to measure latency of
execution upon the blitter ring, allow regular userspace to also read
from that register. They are already allowed RCS_TIMESTAMP!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-32-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_cmd_parser.c