Skip to contentSkip to conversation

backporting support for Intel HD 4600 into Debian Wheezy

DISCUSSION Martin Vegter 1 participant 1 message Apr 12, 2014

lore
Share & tools
lore
#0 lore raw

Hello,
I am using Debian Wheezy, and I am trying to backport support for Intel HD 4600 into xserver-xorg-video-intel-2.19.0

I have made following changes to intel_driver.h and intel_module.c (based on commit 45c09bfe58c37bbf7965af25bdd4fa5c37c0908f), but it still does not work properly.

Could somebody please advise what else I need to change?

src/intel_driver.h
194a195,201

Quoted 6 lines

#define PCI_CHIP_HASWELL_D_GT1 0x0402
#define PCI_CHIP_HASWELL_D_GT2 0x0412
#define PCI_CHIP_HASWELL_M_GT1 0x0406
#define PCI_CHIP_HASWELL_M_GT2 0x0416
#define PCI_CHIP_HASWELL_CRW_D_GT2 0x0D12
#define PCI_CHIP_HASWELL_CRW_M_GT2 0x0D16

src/intel_module.c
98a99,102

Quoted 4 lines
static const struct intel_device_info intel_haswell_info = {
        .gen = 075,
};

147a152,159

Quoted 8 lines
	{PCI_CHIP_HASWELL_D_GT1,                "HD Graphics" },
	{PCI_CHIP_HASWELL_D_GT2,                "HD Graphics 4600" },
	{PCI_CHIP_HASWELL_M_GT1,                "HD Graphics" },
	{PCI_CHIP_HASWELL_M_GT2,                "HD Graphics 4600" },
	{PCI_CHIP_HASWELL_CRW_D_GT2,            "HD Graphics 4600" },
	{PCI_CHIP_HASWELL_CRW_M_GT2,            "HD Graphics 4600" },

216a229,235

Quoted 9 lines

INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_D_GT1, &intel_haswell_info ), INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_D_GT2, &intel_haswell_info ), INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_M_GT1, &intel_haswell_info ), INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_M_GT2, &intel_haswell_info ), INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_CRW_D_GT2, &intel_haswell_info ),
INTEL_DEVICE_MATCH (PCI_CHIP_HASWELL_CRW_M_GT2, &intel_haswell_info ),