Re: [PATCH] Add intel drm blacklist to intel_opregion_present detect

Joey Lee
2010-08-24T14:51:34Z

Hi Matthew,

於 二，2010-08-24 於 15:22 +0100，Matthew Garrett 提到：
> 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.
>

Sorry! You are right! That's my fail!
I will put the PCI device check in probe function then send patch again.

Appreciate for your review.

Thank's a lot!
Joey Lee