]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl/perf: use the same oa ctx_id format as icl
authorMichel Thierry <michel.thierry@intel.com>
Fri, 23 Aug 2019 08:20:50 +0000 (01:20 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 27 Aug 2019 15:47:31 +0000 (08:47 -0700)
commit2ee0e2e619fe8822d7e15af80e613c2129ad8cdb
tree5c06359aadd5c43b37162cef16c8a0b512c96530
parent7633829afdcd76dadbc6e948d0c7791211bfab0f
drm/i915/tgl/perf: use the same oa ctx_id format as icl

Compared to Icelake, Tigerlake's MAX_CONTEXT_HW_ID is smaller by one, but
since we just use the upper 32 bits of the lrc_desc, it's guaranteed OA
will use the correct one.

Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823082055.5992-19-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_perf.c