]> 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)
commita60eacb390c39336072a941b0ec6abecab3404f4
treefe48c9a48050f182cc23a5c4c4bf8a6bf41d3d91
parent6e7fb14fb5707f7a1a33274fe8cbc16e075541b0
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