diff options
Diffstat (limited to 'drivers/gpu/vga/vga_switcheroo.c')
| -rw-r--r-- | drivers/gpu/vga/vga_switcheroo.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/drivers/gpu/vga/vga_switcheroo.c b/drivers/gpu/vga/vga_switcheroo.c index cf2a18571d48..a132c37d7334 100644 --- a/drivers/gpu/vga/vga_switcheroo.c +++ b/drivers/gpu/vga/vga_switcheroo.c @@ -380,6 +380,9 @@ int vga_switcheroo_register_audio_client(struct pci_dev *pdev,  			mutex_unlock(&vgasr_mutex);  			return -EINVAL;  		} +		/* notify if GPU has been already bound */ +		if (ops->gpu_bound) +			ops->gpu_bound(pdev, id);  	}  	mutex_unlock(&vgasr_mutex); | 
