[Intel-gfx] i915 Skylake: "Invalid ROM contents"

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Nov 18 02:59:07 PST 2015


On Tue, Nov 17, 2015 at 11:43:25AM -0800, Andy Lutomirski wrote:
> Typing:
> 
> # cat /sys/devices/pci0000:00/0000:00:02.0/rom
> 
> Provokes:
> 
> i915 0000:00:02.0: Invalid ROM contents

Hmm. So there's no PCI option ROM there. I wonder what is there. I
get the same on my Braswell BTW. I tried to look through the UEFI
spec a bit, and it seems to say that even for non-legacy option ROMs
the 0x55aa signature should be there.

But this being the GPU means we may be using the shadow ROM stuff,
which IIRC assumes that the shadow is at 0xc000. I'm not sure that
holds anymore with UEFI, and maybe we should be using some UEFI
trick instead to find out where it actually lives?

BTW what does 'lspci -vv -s 00:02.0' say on your machine?

> 
> This is on a Dell XPS 13 9350 (Skylake).  This is 4.3.0 plus some
> wireless-next bits.
> 
> --Andy
> 
> -- 
> Andy Lutomirski
> AMA Capital Management, LLC
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list