]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe/oa: Enable Xe2+ PES disaggregation
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 9 Sep 2024 16:59:33 +0000 (09:59 -0700)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 11 Sep 2024 18:41:35 +0000 (11:41 -0700)
commitfb2551a0e93897aec7fb3d4f473ebc06b146d160
tree0eec306702192caff5ac3cf3472ec15eda94611d
parent501d799a47e2b83b4e41d5306c2266ea5c100a08
drm/xe/oa: Enable Xe2+ PES disaggregation

Enable Xe2+ PES disaggregation (for OAG) to retrieve disaggregated metrics
when disaggregated data is needed. Userspace can select whether to receive
aggregated or disaggregated metrics via the particular OA configuration it
uses (programmed via DRM_XE_OBSERVATION_OP_ADD_CONFIG).

Bspec: 61101
Fixes: e936f885f1e9 ("drm/xe/oa/uapi: Expose OA stream fd")
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240909165933.2638765-1-ashutosh.dixit@intel.com
Cc: stable@vger.kernel.org
drivers/gpu/drm/xe/regs/xe_oa_regs.h
drivers/gpu/drm/xe/xe_oa.c