From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lu, Ran" Subject: Need help debuging Iris Pro on Retina MBP 11.3 Date: Mon, 06 Jan 2014 00:36:20 -0600 Message-ID: <4065638.LmCAPMqkJG@rmbp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 528F3FD2D1 for ; Sun, 5 Jan 2014 22:36:16 -0800 (PST) Received: by mail-ig0-f172.google.com with SMTP id hl1so6456785igb.5 for ; Sun, 05 Jan 2014 22:36:15 -0800 (PST) Received: from rmbp.localnet (24-159-240-157.dhcp.mdsn.wi.charter.com. [24.159.240.157]) by mx.google.com with ESMTPSA id kt2sm14234682igb.1.2014.01.05.22.36.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jan 2014 22:36:15 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org Hi guys, I just got a Retina MBP with Iris Pro and Nvidia GT 750. The IGD works in OSX(Mavericks), but when I boot into Linux, the device dose not show up in lspci. I debugged the kernel a little, apparently when pci_bus_read_dev_vendor_id is called for PCI 00:2.0 (the intel gpu), it returns 0xffffffff instead of 0x80860d26 and kernel just dropped the device. I can check all the registers in grub using setpci or pcidump, and they looks fine, the first a few bytes are 0x80860d2600070090, according to [1] 0007 means the device is responsive to pci access. So I do not know how to precede from here, because kernel already dropped the device, I do not have access to it in linux, setpci just telling me the device does not exist. I do not know this is caused by some bug in the kernel or there are some apple black magic behind the theme. I also I wonder is there any low level tool I can use to activate the IGD again without going through the pci regs. Any help are deeply appreciated! Thanks a lot! [1] https://01.org/linuxgraphics/sites/default/files/documentation/intel-gfx-prm-osrc-hsw-pcie-config-registers.pdf -- Best Regards, LR