drm: move drm vblank initialization/cleanup to driver load/unload
authorKeith Packard <keithp@keithp.com>
Tue, 18 Nov 2008 17:30:25 +0000 (09:30 -0800)
committerDave Airlie <airlied@redhat.com>
Mon, 24 Nov 2008 23:49:03 +0000 (09:49 +1000)
commit52440211dcdc52c0b757f8b34d122e11b12cdd50
tree5ad9c526134d046043b04ee56fb34d428a03c890
parent6133047aa64d2fd5b3b79dff74f696ded45615b2
drm: move drm vblank initialization/cleanup to driver load/unload

drm vblank initialization keeps track of the changes in driver-supplied
frame counts across vt switch and mode setting, but only if you let it by
not tearing down the drm vblank structure.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
15 files changed:
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/mga/mga_dma.c
drivers/gpu/drm/mga/mga_irq.c
drivers/gpu/drm/r128/r128_drv.c
drivers/gpu/drm/r128/r128_drv.h
drivers/gpu/drm/r128/r128_irq.c
drivers/gpu/drm/radeon/radeon_cp.c
drivers/gpu/drm/radeon/radeon_irq.c
drivers/gpu/drm/via/via_irq.c
drivers/gpu/drm/via/via_map.c
include/drm/drmP.h