summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/radeon_irq.c
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-06-25 16:17:07 +0000
committerrnoland <rnoland@FreeBSD.org>2009-06-25 16:17:07 +0000
commitc47a69b0adb31f67aa1e738f5142fe7f51daad69 (patch)
tree3653ef767686919f314a1a035ecd4259ca209968 /sys/dev/drm/radeon_irq.c
parent804f2f79eee18b6494ba08a9909d3cc4cface7cd (diff)
downloadFreeBSD-src-c47a69b0adb31f67aa1e738f5142fe7f51daad69.zip
FreeBSD-src-c47a69b0adb31f67aa1e738f5142fe7f51daad69.tar.gz
Initialize max_vblank_count earlier.
Small cleanup of the error paths while I'm here. MFC after: 3 days
Diffstat (limited to 'sys/dev/drm/radeon_irq.c')
-rw-r--r--sys/dev/drm/radeon_irq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/radeon_irq.c b/sys/dev/drm/radeon_irq.c
index ce301eb..7f60573 100644
--- a/sys/dev/drm/radeon_irq.c
+++ b/sys/dev/drm/radeon_irq.c
@@ -380,8 +380,6 @@ int radeon_driver_irq_postinstall(struct drm_device * dev)
atomic_set(&dev_priv->swi_emitted, 0);
DRM_INIT_WAITQUEUE(&dev_priv->swi_queue);
- dev->max_vblank_count = 0x001fffff;
-
radeon_irq_set_state(dev, RADEON_SW_INT_ENABLE, 1);
return 0;
OpenPOWER on IntegriCloud