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>
此提交包含在:
Keith Packard
2008-11-18 09:30:25 -08:00
提交者 Dave Airlie
父節點 6133047aa6
當前提交 52440211dc
共有 15 個檔案被更改,包括 45 行新增21 行删除

查看文件

@@ -47,6 +47,8 @@ enum pipe {
PIPE_B,
};
#define I915_NUM_PIPE 2
/* Interface history:
*
* 1.1: Original.