Skip to content
Commit 2423fedc authored by Eric Anholt's avatar Eric Anholt
Browse files

Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)

    in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are
    protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device
    is uninitialied (when you aren't in X).
parent e4a2a9c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment