From a839be7d6cfa86006a88db4eb7f8dd71669be046 Mon Sep 17 00:00:00 2001 From: Admin Pupkin Date: Tue, 2 Jun 2026 05:36:23 +0300 Subject: [PATCH] =?UTF-8?q?intel:=20fix=20dead=20code=20=E2=80=94=20replac?= =?UTF-8?q?e=20ASLS=20tuple=20literal=20with=20debug=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was: let _ = (ASLS_PCI_OFFSET, OPREGION_SIG, OPREGION_VBT_OFFSET); Now: debug! with note that OpRegion VBT lookup is not yet implemented Removes dead code while documenting the feature gap for future work. --- local/recipes/gpu/redox-drm/source/src/drivers/intel/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/recipes/gpu/redox-drm/source/src/drivers/intel/mod.rs b/local/recipes/gpu/redox-drm/source/src/drivers/intel/mod.rs index b59f18f19d..d076fcc501 100644 --- a/local/recipes/gpu/redox-drm/source/src/drivers/intel/mod.rs +++ b/local/recipes/gpu/redox-drm/source/src/drivers/intel/mod.rs @@ -1395,8 +1395,8 @@ fn discover_vbt(mmio: &MmioRegion) -> Option { } } - let _ = (ASLS_PCI_OFFSET, OPREGION_SIG, OPREGION_VBT_OFFSET); - debug!("redox-drm-intel: no VBT found in MMIO, using port heuristic"); + // ASLS/OpRegion VBT lookup attempted (offsets 0x68 for ASLS, 0x400 for VBT in OpRegion) + debug!("redox-drm-intel: VBT MMIO scan complete, OpRegion/ASLS VBT lookup not yet implemented"); None }