OSDN Git Service

drm/i915/gt: Make the CTX_TIMESTAMP readable on !rcs
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jun 2020 15:48:39 +0000 (16:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jun 2020 22:15:33 +0000 (23:15 +0100)
commitdbc7e72897a4e565a69b6d3533c87cfeec4a2831
treeaa4802a117195baa2e0011fc61eccf95ce7e307b
parent5f4ae2704d59ee02b6e6d1a20e0ecfd273ae758c
drm/i915/gt: Make the CTX_TIMESTAMP readable on !rcs

For reasons that be, the HW only allows usersace to read its own
CTX_TIMESTAMP [context local HW runtime] on rcs. Make it available for
all by adding it to the whitelists.

v2: The change took effect from Cometlake.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200602154839.6902-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_workarounds.c