Rev 6660 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6660 | Rev 6937 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | #define iowrite32(v, addr) writel((v), (addr)) |
- | |
2 | - | ||
3 | #include |
- | |
4 | #include |
1 | #include |
5 | #include "i915_drv.h" |
- | |
6 | #include "intel_drv.h" |
- | |
7 | #include |
2 | #include "intel_drv.h" |
- | 3 | #include |
|
8 | #include |
4 | #include |
9 | #include |
- | |
10 | #include |
- | |
11 | 5 | #include "i915_drv.h" |
|
Line 12... | Line 6... | ||
12 | #include |
6 | |
13 | #include |
7 | #include |
Line -... | Line 8... | ||
- | 8 | #include |
|
- | 9 | ||
14 | 10 | int printf ( const char * format, ... ); |
|
Line 15... | Line 11... | ||
15 | void init_system_cursors(struct drm_device *dev); |
11 | |
Line 16... | Line 12... | ||
16 | 12 | void init_system_cursors(struct drm_device *dev); |
|
Line 114... | Line 110... | ||
114 | goto out_unref; |
110 | ret = PTR_ERR(fb); |
115 | } |
111 | goto out_unref; |
116 | 112 | } |
|
Line 117... | Line 113... | ||
117 | /* Flush everything out, we'll be doing GTT only from now on */ |
113 | |
118 | ret = intel_pin_and_fence_fb_obj(NULL, fb, NULL, NULL, NULL); |
114 | /* Flush everything out, we'll be doing GTT only from now on */ |
119 | if (ret) { |
115 | ret = intel_pin_and_fence_fb_obj(NULL, fb, NULL); |
120 | DRM_ERROR("failed to pin obj: %d\n", ret); |
116 | if (ret) { |
121 | goto out_fb; |
117 | DRM_ERROR("failed to pin obj: %d\n", ret); |
122 | } |
118 | goto out_fb; |
123 | mutex_unlock(&dev->struct_mutex); |
119 | } |