Rev 3033 | Rev 3051 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3033 | Rev 3037 | ||
---|---|---|---|
Line 2516... | Line 2516... | ||
2516 | 2516 | ||
Line 2517... | Line 2517... | ||
2517 | static struct drm_device *irq_device; |
2517 | static struct drm_device *irq_device; |
2518 | 2518 | ||
2519 | void irq_handler_kms() |
- | |
2520 | { |
2519 | void irq_handler_kms() |
2521 | printf("%s\n",__FUNCTION__); |
2520 | { |
Line 2522... | Line 2521... | ||
2522 | ironlake_irq_handler(irq_device); |
2521 | ironlake_irq_handler(irq_device); |
2523 | } |
2522 | } |
2524 | 2523 | ||
2525 | int drm_irq_install(struct drm_device *dev) |
2524 | int drm_irq_install(struct drm_device *dev) |
Line 2526... | Line -... | ||
2526 | { |
- | |
2527 | int irq_line; |
- | |
2528 | int ret = 0; |
2525 | { |
Line 2529... | Line 2526... | ||
2529 | 2526 | int irq_line; |
|
2530 | ENTER(); |
2527 | int ret = 0; |
2531 | 2528 | ||
Line 2572... | Line 2569... | ||
2572 | 2569 | ||
Line 2573... | Line 2570... | ||
2573 | cmd&= ~(1<<10); |
2570 | cmd&= ~(1<<10); |
Line 2574... | Line -... | ||
2574 | - | ||
2575 | PciWrite16(dev->pdev->busnr, dev->pdev->devfn, 4, cmd); |
- | |
2576 | 2571 | ||
2577 | dbgprintf("PCI_CMD: %04x\n", cmd); |
- | |
2578 | 2572 | PciWrite16(dev->pdev->busnr, dev->pdev->devfn, 4, cmd); |
|
2579 | DRM_INFO("i915: irq initialized.\n"); |
2573 |