diff options
| author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-13 10:09:41 -0700 |
|---|---|---|
| committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-13 10:09:41 -0700 |
| commit | b8724ae647c2c622f33f3a82d1b8632c887fa69b (patch) | |
| tree | 5e7c5f266d397f5688c55155cd5527d60ff9cd59 /linux-core/nv50_display.c | |
| parent | 2f03ba4aad1718a36168550b6a146b79540252e6 (diff) | |
| parent | 9a2adc442af9d83b85e4d558cb5e4d33597b60b9 (diff) | |
Merge branch 'modesetting-101' into modesetting-gem
Diffstat (limited to 'linux-core/nv50_display.c')
| -rw-r--r-- | linux-core/nv50_display.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-core/nv50_display.c b/linux-core/nv50_display.c index eeaa0e68..6665a32f 100644 --- a/linux-core/nv50_display.c +++ b/linux-core/nv50_display.c @@ -125,6 +125,9 @@ static int nv50_display_init(struct nv50_display *display) /* enable clock change interrupts. */ NV_WRITE(NV50_PDISPLAY_SUPERVISOR_INTR, NV_READ(NV50_PDISPLAY_SUPERVISOR_INTR) | 0x70); + /* enable hotplug interrupts */ + NV_WRITE(NV50_PCONNECTOR_HOTPLUG_INTR, 0x7FFF7FFF); + display->init_done = true; return 0; @@ -171,6 +174,9 @@ static int nv50_display_disable(struct nv50_display *display) /* disable clock change interrupts. */ NV_WRITE(NV50_PDISPLAY_SUPERVISOR_INTR, NV_READ(NV50_PDISPLAY_SUPERVISOR_INTR) & ~0x70); + /* disable hotplug interrupts */ + NV_WRITE(NV50_PCONNECTOR_HOTPLUG_INTR, 0); + display->init_done = false; return 0; |
