tools/intel_gtt: add support for gen10+ devices
PATCH 1/1 tools/intel_gtt: add support for gen10+ devices
Gen10 and later devices all have the same 64 bit GGTT entries as gen8. Additionally, devices from Meator Lake onwards have bits 45:12 for physical address [1].
--- tools/intel_gtt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
tools/intel_gtt.c +8 -1
@@ -86,7 +86,14 @@ static uint64_t get_phys(uint32_t pt_offset)break ;case 8 :case 9 : - phys = phys &0x7ffffff000 ; +case 10 : +case 11 : +case 12 : +case 20 : +if (intel_graphics_ver (devid) >=IP_VER (12 ,70 )) + phys = phys &0x3ffffffff000 ; +else + phys = phys &0x7ffffff000 ;break ;default :fprintf (stderr,"Unsupported platform\n" );
Signature · 1 line
2.47.2
Patchwork
CI✗ LGCI.VerificationFailed: failure for tools/intel_gtt: add support for gen10+ devices
== Series Details ==
== Series Details ==
Series: tools/intel_gtt: add support for gen10+ devices
URL : https://patchwork.freedesktop.org/series/148178/
State : failure
== Summary ==
Address '[email protected]' is not on the allowlist! Exception occurred during validation, bailing out!
Hi Tomita,
Quoted 6 lines · Tomita Moeko
Gen10 and later devices all have the same 64 bit GGTT entries as gen8. Additionally, devices from Meator Lake onwards have bits 45:12 for physical address [1].
I will add Closes: 'gitlab issue' here
Quoted 1 line
Signed-off-by Tomita Moeko <[email protected]>
LGTM,
Quoted 27 lines
--- tools/intel_gtt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)tools/intel_gtt.c +8
-1@@ -86,7 +86,14 @@ static uint64_t get_phys(uint32_t pt_offset)break ;case 8 :case 9 : - phys = phys &0x7ffffff000 ; +case 10 : +case 11 : +case 12 : +case 20 : +if (intel_graphics_ver (devid) >=IP_VER (12 ,70 )) + phys = phys &0x3ffffffff000 ; +else + phys = phys &0x7ffffff000 ;break ;default :fprintf (stderr,"Unsupported platform\n" );Signature · 1 line
2.47.2