drm/xe: Detect pvc stepping
First mandatory step to add PVC workarounds support Report stepping, subplaform and gt engine_mask via info/debugfs
Signed-off-by: Philippe Lecluse philippe.lecluse@intel.com
New version of !139 (closed) (request was to not hide base die into sub platform).
Output under pvc/atsm:
[77228.846260] xe 0009:05:00.0: [drm:xe_pci_probe [xe]] XE_PVC 0bd5:0003 dgfx:1 gfx100:1260 media100:1260 dma_m_s:52 tc:2
[77228.846379] xe 0009:05:00.0: [drm:xe_pci_probe [xe]] Stepping = (G:A0, M:**, D:**, B:A0)
root@mtjade-nl:~# cat /sys/kernel/debug/dri/0/info
graphics_verx100 1260
media_verx100 1260
stepping G:A0 M:** D:** B:A0
subplatform 0
is_dgfx yes
platform 5
devid 0xbd5
revid 3
tile_count 1
vm_max_level 4
enable_guc yes
supports_usm yes
has_flat_ccs no
gt0 force wake 0
gt0 engine_mask 0x3c01ffe
[ 7228.906681] xe 0000:88:00.0: [drm:xe_pci_probe [xe]] XE_DG2 G10 56c0:0008 dgfx:1 gfx100:1255 media100:1255 dma_m_s:46 tc:1
[ 7228.907073] xe 0000:88:00.0: [drm:xe_pci_probe [xe]] Stepping = (G:C0, M:C0, D:C0, B:**)
root@hp380g10:~# cat /sys/kernel/debug/dri/0/info
graphics_verx100 1255
media_verx100 1255
stepping G:C0 M:C0 D:C0 B:**
is_dgfx yes
platform 4
subplatform 2
devid 0x56c0
revid 8
tile_count 1
vm_max_level 3
enable_guc yes
supports_usm no
has_flat_ccs yes
gt0 force wake 0
gt0 engine_mask 0x3cc1403
root@hp380g10:~#