On Wed, Dec 12, 2018 at 06:19:30AM +0100, Tom Ivar Helbekkmo wrote:
> Tom Ivar Helbekkmo <t...@hamartun.priv.no> writes:
> 
> > This one goes black:
> >
> > nouveau0 at pci1 dev 0 function 0: vendor 10de product 06eb (rev. 0xa1)
> > drm kern info: nouveau  [  DEVICE][nouveau0] BOOT0  : 0x298580a2
> > drm kern info: nouveau  [  DEVICE][nouveau0] Chipset: G98 (NV98)
> > drm kern info: nouveau  [  DEVICE][nouveau0] Family : NV50
> 
> ...but works with maya's "big hammer" - albeit without acceleration, so
> I still can't use mplayer to watch videos on it.

Retest :-)

p.s. part of the nouveau msi problems (from observation, might be not
100% accurate, I am lazy about testing kernels since I'm doing
development on 1 machine):

- It establishes an interrupt twice:
once in drm_pci_request_irq with NULL handler, because it doesn't initialize 
.irq_handler
(maybe we can make this a KASSERT)

another time in nvkm_pci_init.

- with the #ifdef notyet
msi_enabled is never set to true.
so code like:

        /* Ensure MSI interrupts are armed, for the case where there are
         * already interrupts pending (for whatever reason) at load time.
         */
        if (pci->msi)
                pci->func->msi_rearm(pci);

doesn't happen.

I see upstream nouveau also uses its own pci init code. maybe I
can untangle and fix it there then backport for us for more sanity.

Reply via email to