Rev 6660 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6660 | Rev 6935 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | #include |
35 | #include |
36 | //#include "drm_trace.h" |
36 | //#include "drm_trace.h" |
Line 37... | Line 37... | ||
37 | #include "drm_internal.h" |
37 | #include "drm_internal.h" |
38 | 38 | ||
Line 39... | Line 39... | ||
39 | //#include |
39 | #include |
40 | #include |
40 | #include |
Line 1236... | Line 1236... | ||
1236 | spin_lock_irqsave(&dev->event_lock, irqflags); |
1236 | spin_lock_irqsave(&dev->event_lock, irqflags); |
Line 1237... | Line 1237... | ||
1237 | 1237 | ||
1238 | spin_lock(&dev->vbl_lock); |
1238 | spin_lock(&dev->vbl_lock); |
1239 | DRM_DEBUG_VBL("crtc %d, vblank enabled %d, inmodeset %d\n", |
1239 | DRM_DEBUG_VBL("crtc %d, vblank enabled %d, inmodeset %d\n", |
- | 1240 | pipe, vblank->enabled, vblank->inmodeset); |
|
- | 1241 | ||
- | 1242 | /* Avoid redundant vblank disables without previous drm_vblank_on(). */ |
|
1240 | pipe, vblank->enabled, vblank->inmodeset); |
1243 | if (drm_core_check_feature(dev, DRIVER_ATOMIC) || !vblank->inmodeset) |
Line 1241... | Line 1244... | ||
1241 | vblank_disable_and_save(dev, pipe); |
1244 | vblank_disable_and_save(dev, pipe); |
Line 1242... | Line 1245... | ||
1242 | 1245 |