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)
commit068715b922a6f87c454cdfa15bb8049d2076eee6
treedfd8712e479120ea5bda5bab91f8dff3a68ad4e6
parent7756e454077197df57c51cc2f7ae844ec6ce9fba
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