Xe DRM client usage stats implementation¶
The drm/xe driver implements the DRM client usage stats specification asdocumented inDRM client usage stats.
Example of the output showing the implemented key value pairs and entirety ofthe currently possible format options:
pos: 0flags: 0100002mnt_id: 26ino: 685drm-driver: xedrm-client-id: 3drm-pdev: 0000:03:00.0drm-total-system: 0drm-shared-system: 0drm-active-system: 0drm-resident-system: 0drm-purgeable-system: 0drm-total-gtt: 192 KiBdrm-shared-gtt: 0drm-active-gtt: 0drm-resident-gtt: 192 KiBdrm-total-vram0: 23992 KiBdrm-shared-vram0: 16 MiBdrm-active-vram0: 0drm-resident-vram0: 23992 KiBdrm-total-stolen: 0drm-shared-stolen: 0drm-active-stolen: 0drm-resident-stolen: 0drm-cycles-rcs: 28257900drm-total-cycles-rcs: 7655183225drm-cycles-bcs: 0drm-total-cycles-bcs: 7655183225drm-cycles-vcs: 0drm-total-cycles-vcs: 7655183225drm-engine-capacity-vcs: 2drm-cycles-vecs: 0drm-total-cycles-vecs: 7655183225drm-engine-capacity-vecs: 2drm-cycles-ccs: 0drm-total-cycles-ccs: 7655183225drm-engine-capacity-ccs: 4
Possibledrm-cycles- key names are:rcs,ccs,bcs,vcs,vecs and“other”.