Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: Merging drm update



Hi,

Martin Husemann <martin%duskware.de@localhost> writes:

> On Tue, Dec 21, 2021 at 01:50:05AM +0900, Ryo ONODERA wrote:
>> (snip)
>> boot device: ld0
>> root on dk1 dumps on dk2
>> root file system type: ffs
>> kern.module.path=/stand/amd64/9.99.92/modules
>> kern info: [drm] Support vblank timestamp caching Rev 2 (21.10.2013).
>> kern info: [drm] Driver supports precise vblank timestamp query.
>> kern info: [drm] Failed to find VBIOS tables (VBT)
>> i915drmkms0: interrupting at msi5 vec 0 (i915drmkms0)
>> i915drmkms0: notice: Failed to load DMC firmware i915/icl_dmc_ver1_09.bin. Disabling runtime power management.
>> (screen turns black)
>
> I get the same on a machine with "real" serial console- it comes up fine,
> but nothing in wscons land works:
>
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 0903> disk removable
> sd0: drive offline
> WARNING: 3 errors while detecting hardware; check system log.
> boot device: wd1
> root on wd1e dumps on wd1b
> root file system type: ffs
> kern.module.path=/stand/amd64/9.99.92/modules
> kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> kern info: [drm] Driver supports precise vblank timestamp query.
> kern info: [drm] Failed to find VBIOS tables (VBT)
> allocated pic msi7 type edge pin 0 level 6 to cpu1 slot 2 idt entry 98
> i915drmkms0: interrupting at msi7 vec 0 (i915drmkms0)
> i915drmkms0: notice: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disa$
> i915drmkms0: notice: DMC firmware homepage: https://git.kernel.org/pub/scm/linu$
> kern info: [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
> i915drmkms0: info: [drm] Cannot find any crtc or sizes
> kern info: [drm] DRM_I915_DEBUG enabled
> kern info: [drm] DRM_I915_DEBUG_GEM enabled  
> i915drmkms0: info: [drm] Cannot find any crtc or sizes

Thanks for your information.
I think that "Cannot find any crtc or sizes" may be related to
"Failed to find VBIOS tables (VBT)".
I have added some printf lines to some functions invoked before
intel_bios_init in
sys/external/bsd/drm2/dist/drm/i915/display/intel_bios.c .

And bus_space_map (line 956)
in intel_opregion_setup in sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c
failed and return value 35.

   954  #ifdef __NetBSD__
   955          opregion->bst = pdev->pd_pa.pa_memt;
   956          err = -bus_space_map(opregion->bst, asls, OPREGION_SIZE,
   957              BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_CACHEABLE,
   958              &opregion->asls_bsh);
   959          if (err) {
   960                  DRM_DEBUG_DRIVER("Failed to map opregion: %d\n", err);
   961                  return err;
   962          }
   963          base = bus_space_vaddr(opregion->bst, opregion->asls_bsh);
   964  #else

> Martin

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index