Rev 5078 | Rev 5354 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5078 | Rev 5271 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
2 | #include |
2 | #include |
3 | #include |
- | |
4 | #include |
- | |
5 | #include "radeon.h" |
3 | #include "radeon.h" |
6 | #include "radeon_object.h" |
4 | #include "radeon_object.h" |
7 | #include "bitmap.h" |
5 | #include "bitmap.h" |
8 | #include "display.h" |
6 | #include "display.h" |
Line 32... | Line 30... | ||
32 | 30 | ||
Line 33... | Line 31... | ||
33 | rdev = (struct radeon_device *)os_display->ddev->dev_private; |
31 | rdev = (struct radeon_device *)os_display->ddev->dev_private; |
Line 34... | Line 32... | ||
34 | 32 | ||
35 | r = radeon_bo_create(rdev, CURSOR_WIDTH*CURSOR_HEIGHT*4, |
33 | r = radeon_bo_create(rdev, CURSOR_WIDTH*CURSOR_HEIGHT*4, |
Line 36... | Line 34... | ||
36 | PAGE_SIZE, false, RADEON_GEM_DOMAIN_VRAM, 0, NULL, &cursor->robj); |
34 | 4096, false, RADEON_GEM_DOMAIN_VRAM, 0, NULL, NULL, &cursor->robj); |
37 | 35 | ||
Line 38... | Line 36... | ||
38 | if (unlikely(r != 0)) |
36 | if (unlikely(r != 0)) |
Line 227... | Line 225... | ||
227 | struct drm_device *dev; |
225 | struct drm_device *dev; |
228 | 226 | ||
Line 229... | Line 227... | ||
229 | cursor_t *cursor; |
227 | cursor_t *cursor; |
230 | bool retval = true; |
228 | bool retval = true; |
231 | u32_t ifl; |
229 | u32 ifl; |
Line 232... | Line 230... | ||
232 | 230 | ||
Line 233... | Line 231... | ||
233 | ENTER(); |
231 | ENTER(); |