drm/i915/cnl: Allow the reg_read ioctl to read the RCS TIMESTAMP register
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 5 Sep 2017 18:45:07 +0000 (11:45 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 6 Sep 2017 19:31:27 +0000 (12:31 -0700)
commitf1294585d8e177b25acd028d90f23f335d6695fb
tree5b5eb8b732f16f5ec4503618bec9672f88b73634
parent5d95c24867aea8a065a50faf95167a07c8e6bf02
drm/i915/cnl: Allow the reg_read ioctl to read the RCS TIMESTAMP register

This enables the Mesa driver to advertise support for ARB_timer_query, and
thus an OpenGL version higher than 3.2.

Suggested-by: Ben Widawsky <ben@bwidawsk.net>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170905184507.30046-1-nanley.g.chery@intel.com
drivers/gpu/drm/i915/intel_uncore.c