]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: allow the reg_read ioctl to read the RCS TIMESTAMP register
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Jul 2019 00:24:11 +0000 (17:24 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 1 Aug 2019 21:36:54 +0000 (14:36 -0700)
commit62aa08b22f19e1350aaeeb09e54971c32f570511
treefe48c9a48050f182cc23a5c4c4bf8a6bf41d3d91
parent932e952d3d7f2056d5b3483bec6b9b7c1ab5666a
drm/i915/tgl: 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 ICL patch by Paulo Zanoni and CNL patch by Nanley Chery.

Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190726002412.5827-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_uncore.c