feat: expand iGPU fields (Exec Units, Video RAM, DirectX, Burst Freq fix)

This commit is contained in:
2026-04-13 18:04:10 +02:00
parent a23245f6e0
commit e7aa272ffc
5 changed files with 45 additions and 5 deletions

View File

@@ -724,7 +724,7 @@ async function loadDetail(id) {
${l.cs_l2_cache ? specItem('L2 Cache', l.cs_l2_cache) : ''}
${(l.cs_l3_cache || l.cpu_cache) ? specItem('L3 Cache', l.cs_l3_cache || l.cpu_cache) : ''}
${specItem('TDP', l.cs_tdp_w ? l.cs_tdp_w + ' W' : null)}
${specItem('Max Turbo Power', l.cs_max_tdp_w ? l.cs_max_tdp_w + ' W' : null)}
${l.cs_max_tdp_w ? specItem('Max Turbo Power', l.cs_max_tdp_w + ' W') : ''}
${specItem('PCIe', l.cs_pcie_version ? 'PCIe ' + l.cs_pcie_version : null)}
</div>
${hasCpuSpecs && l.cs_source_url ? `<a class="detail-link secondary" href="${escHtml(l.cs_source_url)}" target="_blank" rel="noopener" style="margin-top:10px;font-size:12px">Intel spec page ↗</a>` : ''}
@@ -755,7 +755,11 @@ async function loadDetail(id) {
<div class="spec-grid">
${l.has_dedicated_gpu ? specItem('GPU', l.gpu) : ''}
${specItem('iGPU', l.cs_igpu_name || (!l.has_dedicated_gpu ? l.gpu : null))}
${specItem('iGPU Boost', l.cs_igpu_boost_mhz ? (l.cs_igpu_boost_mhz / 1000).toFixed(2) + ' GHz' : null)}
${l.cs_igpu_base_mhz ? specItem('iGPU Base', l.cs_igpu_base_mhz + ' MHz') : ''}
${l.cs_igpu_boost_mhz ? specItem('iGPU Boost', (l.cs_igpu_boost_mhz / 1000).toFixed(2) + ' GHz') : ''}
${l.cs_igpu_exec_units ? specItem('Exec Units', l.cs_igpu_exec_units) : ''}
${l.cs_igpu_max_vram_gb ? specItem('Video RAM', l.cs_igpu_max_vram_gb + ' GB') : ''}
${l.cs_igpu_directx ? specItem('DirectX', l.cs_igpu_directx) : ''}
</div>
</div>