Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added

2010-03-01 Thread Ben Hutchings
On Mon, Mar 01, 2010 at 08:19:02AM -0800, Eric Anholt wrote: > On Mon, 1 Mar 2010 18:33:14 +1000, Dave Airlie wrote: > > On Sun, Feb 28, 2010 at 1:30 PM, Ben Hutchings wrote: > > > This addresses . > > > > > > DRM drivers may fail to probe their d

Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added

2010-03-01 Thread Eric Anholt
On Mon, 1 Mar 2010 18:33:14 +1000, Dave Airlie wrote: > On Sun, Feb 28, 2010 at 1:30 PM, Ben Hutchings wrote: > > This addresses . > > > > DRM drivers may fail to probe their devices when the associated AGP > > GART does not yet have a driver, so

Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added

2010-03-01 Thread Dave Airlie
On Sun, Feb 28, 2010 at 1:30 PM, Ben Hutchings wrote: > This addresses . > > DRM drivers may fail to probe their devices when the associated AGP > GART does not yet have a driver, so we reprobe unbound VGA devices > when a GART device is added. > >

Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added

2010-03-01 Thread Ben Hutchings
On Sun, 2010-02-28 at 03:30 +, Ben Hutchings wrote: > +static void agp_probe_video(struct work_struct *work) > +{ > + struct pci_dev *pdev = NULL; > + > + while ((pdev = pci_get_class(0x03, pdev)) != NULL) { Only without the opening brace here... Ben. > + if (!pdev->d

[PATCH] agpgart: Reprobe VGA devices when a new GART device is added

2010-03-01 Thread Ben Hutchings
This addresses . DRM drivers may fail to probe their devices when the associated AGP GART does not yet have a driver, so we reprobe unbound VGA devices when a GART device is added. Signed-off-by: Ben Hutchings --- This is intended to address the