diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-10-25 17:14:53 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-10-25 17:14:53 -0700 |
commit | 7e9ea55a2f052cc939ba9bbf9edac39798344b7a (patch) | |
tree | 22d2a3c3596578b29b8e7064fbc5e3f5b4448879 /linux-core | |
parent | 5b726b63906419ccb3de2e065f9bf7ae875ccdf3 (diff) |
Initial pass at porting MGA to vblank-rework
This is currently only compile tested.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/mga_drv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c index ef6f1e44..6419cbdc 100644 --- a/linux-core/mga_drv.c +++ b/linux-core/mga_drv.c @@ -46,15 +46,16 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent); static struct drm_driver driver = { .driver_features = DRIVER_USE_AGP | DRIVER_USE_MTRR | DRIVER_PCI_DMA | - DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | - DRIVER_IRQ_VBL, + DRIVER_HAVE_DMA | DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED, .dev_priv_size = sizeof (drm_mga_buf_priv_t), .load = mga_driver_load, .unload = mga_driver_unload, .lastclose = mga_driver_lastclose, .dma_quiescent = mga_driver_dma_quiescent, .device_is_agp = mga_driver_device_is_agp, - .vblank_wait = mga_driver_vblank_wait, + .get_vblank_counter = mga_get_vblank_counter, + .enable_vblank = mga_enable_vblank, + .disable_vblank = mga_disable_vblank, .irq_preinstall = mga_driver_irq_preinstall, .irq_postinstall = mga_driver_irq_postinstall, .irq_uninstall = mga_driver_irq_uninstall, |