Rev 5078 | Rev 6104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5078 | Rev 5271 | ||
---|---|---|---|
Line 182... | Line 182... | ||
182 | } |
182 | } |
Line 183... | Line 183... | ||
183 | 183 | ||
184 | static int radeonfb_create(struct drm_fb_helper *helper, |
184 | static int radeonfb_create(struct drm_fb_helper *helper, |
185 | struct drm_fb_helper_surface_size *sizes) |
185 | struct drm_fb_helper_surface_size *sizes) |
- | 186 | { |
|
186 | { |
187 | struct radeon_fbdev *rfbdev = |
187 | struct radeon_fbdev *rfbdev = (struct radeon_fbdev *)helper; |
188 | container_of(helper, struct radeon_fbdev, helper); |
188 | struct radeon_device *rdev = rfbdev->rdev; |
189 | struct radeon_device *rdev = rfbdev->rdev; |
189 | struct fb_info *info; |
190 | struct fb_info *info; |
190 | struct drm_framebuffer *fb = NULL; |
191 | struct drm_framebuffer *fb = NULL; |
191 | struct drm_mode_fb_cmd2 mode_cmd; |
192 | struct drm_mode_fb_cmd2 mode_cmd; |