[Intel-gfx] [PATCH] drm/i915: Do hw quiescing first during unload
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 17 21:37:44 CEST 2013
On Thu, Oct 17, 2013 at 12:07:26PM -0700, Ben Widawsky wrote:
> On Thu, Oct 17, 2013 at 01:02:53PM +0100, Chris Wilson wrote:
> > If we force the hw to idle as our first step during unload, we can abort
> > the unload upon failure. Later we can probe whether the hardware remain
> > active even after we try to shut it down.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> Isn't it pretty mean to fail to unload? Wouldn't pci_clear_master yield
> what we want?
It may be mean, but it seems to me to be the right thing to do if we
cannot turn off the hardware to unload the driver...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list