Re: [PATCH] Add intel drm blacklist to intel_opregion_presentdetect

From: Matthew Garrett
Date: Tue Aug 24 2010 - 10:22:33 EST


Erm. Sorry about that - I just realised that there's actually a fairly
significant problem with it :) Right now you'll perform the register
call unconditionally on module load. You need to make sure that there's
actually Poulsbo hardware in the system, either by registering as a
proper PCI driver and calling acpi_video_register in your probe function
(and unregister in your remove function) or walking the PCI device list
looking for a psb device.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/