]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: allow the reg_read ioctl to read the RCS TIMESTAMP register
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 30 Jan 2018 13:49:18 +0000 (11:49 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 31 Jan 2018 16:30:44 +0000 (14:30 -0200)
commit436ea8ed0a682f6d25b1f764a5893af63b7f7e07
tree8f6c3d9bc9f0c1cb315221a9fbff2386421d82dd
parentf01738ebe269107e665a12e52c9aaab9f2fdb9d1
drm/i915/icl: 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.

Based on the CNL patch by Nanley Chery.

v2: Rebase.

Cc: Anuj Phogat <anuj.phogat@intel.com>
Cc: Nanley Chery <nanley.g.chery@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Requested-by: Anuj Phogat <anuj.phogat@intel.com>
Tested-by: Anuj Phogat <anuj.phogat@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130134918.32283-10-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_uncore.c