Rev 4293 | Rev 4389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4293 | Rev 4371 | ||
---|---|---|---|
Line 6781... | Line 6781... | ||
6781 | I915_WRITE(CURCNTR(pipe), cntl); |
6781 | I915_WRITE(CURCNTR(pipe), cntl); |
Line 6782... | Line 6782... | ||
6782 | 6782 | ||
6783 | intel_crtc->cursor_visible = visible; |
6783 | intel_crtc->cursor_visible = visible; |
6784 | } |
6784 | } |
- | 6785 | /* and commit changes on next vblank */ |
|
6785 | /* and commit changes on next vblank */ |
6786 | POSTING_READ(CURCNTR(pipe)); |
- | 6787 | I915_WRITE(CURBASE(pipe), base); |
|
6786 | I915_WRITE(CURBASE(pipe), base); |
6788 | POSTING_READ(CURBASE(pipe)); |
Line 6787... | Line 6789... | ||
6787 | } |
6789 | } |
6788 | 6790 | ||
6789 | static void ivb_update_cursor(struct drm_crtc *crtc, u32 base) |
6791 | static void ivb_update_cursor(struct drm_crtc *crtc, u32 base) |
Line 6810... | Line 6812... | ||
6810 | I915_WRITE(CURCNTR_IVB(pipe), cntl); |
6812 | I915_WRITE(CURCNTR_IVB(pipe), cntl); |
Line 6811... | Line 6813... | ||
6811 | 6813 | ||
6812 | intel_crtc->cursor_visible = visible; |
6814 | intel_crtc->cursor_visible = visible; |
6813 | } |
6815 | } |
- | 6816 | /* and commit changes on next vblank */ |
|
6814 | /* and commit changes on next vblank */ |
6817 | POSTING_READ(CURCNTR_IVB(pipe)); |
- | 6818 | I915_WRITE(CURBASE_IVB(pipe), base); |
|
6815 | I915_WRITE(CURBASE_IVB(pipe), base); |
6819 | POSTING_READ(CURBASE_IVB(pipe)); |
Line 6816... | Line 6820... | ||
6816 | } |
6820 | } |
6817 | 6821 | ||
6818 | /* If no-part of the cursor is visible on the framebuffer, then the GPU may hang... */ |
6822 | /* If no-part of the cursor is visible on the framebuffer, then the GPU may hang... */ |