]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix an issue with the device losing its irq line on module unload
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 10 Mar 2015 18:07:40 +0000 (11:07 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 11 Mar 2015 18:47:41 +0000 (11:47 -0700)
commit377fada3de780151ffd3b9e75baf69cdc715211b
treeb89be41478b36f815c475c1cc2d47d19d07869df
parent467a6e171883a2716c93fc0d4ebbfcdf8c408923
drm/vmwgfx: Fix an issue with the device losing its irq line on module unload

Starting with commit 21d448578142
("x86/PCI: Refine the way to release PCI IRQ resources")

the device lost its irq resource on module unload. While that's ok and
apparently intentional, the driver never got the resource back on module load

The code apparently wants drivers to disable the pci device at pci device
driver removal, so lets do that. That fixes the issue.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c