mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 04:40:12 +01:00
drm: don't reset to 0 irq_enabled when client open file descriptor
This commit is contained in:
parent
3fc3fc082a
commit
09e51db77b
2 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,6 @@ static int drm_setup(struct drm_device * dev)
|
|||
dev->queue_reserved = 0;
|
||||
dev->queue_slots = 0;
|
||||
dev->queuelist = NULL;
|
||||
dev->irq_enabled = 0;
|
||||
dev->context_flag = 0;
|
||||
dev->interrupt_flag = 0;
|
||||
dev->dma_flag = 0;
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
|
|||
dev->hose = pdev->sysdata;
|
||||
#endif
|
||||
dev->irq = pdev->irq;
|
||||
dev->irq_enabled = 0;
|
||||
|
||||
if (drm_ht_create(&dev->map_hash, DRM_MAP_HASH_ORDER)) {
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue