summaryrefslogtreecommitdiff
path: root/linux-core/radeon_mode.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-09-23 16:47:34 +1000
committerDave Airlie <airlied@redhat.com>2008-09-23 16:49:32 +1000
commit5fdfbee22acb8eaaa834457c30e6f68883ab1353 (patch)
tree0e9b12245edb3915e29a32fea8cfb5fcb806be87 /linux-core/radeon_mode.h
parenta2216491c619082ad9a01bc949648834dc5a0d2f (diff)
Store the buffer object backing the fb as a void pointer, not a handle.
This lets us defer handle creation until userspace acutally asks for one, at which point we also have a drm_file to associate it with.
Diffstat (limited to 'linux-core/radeon_mode.h')
-rw-r--r--linux-core/radeon_mode.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux-core/radeon_mode.h b/linux-core/radeon_mode.h
index d4b33dd9..577c3cf9 100644
--- a/linux-core/radeon_mode.h
+++ b/linux-core/radeon_mode.h
@@ -248,7 +248,6 @@ struct radeon_connector {
struct radeon_framebuffer {
struct drm_framebuffer base;
- struct drm_gem_object *obj;
struct drm_bo_kmap_obj kmap_obj;
};
@@ -313,9 +312,9 @@ extern void radeon_atom_output_lock(struct drm_encoder *encoder, bool lock);
extern void radeon_atom_initialize_bios_scratch_regs(struct drm_device *dev);
extern void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
u16 blue, int regno);
-struct drm_framebuffer *radeon_user_framebuffer_create(struct drm_device *dev,
- struct drm_file *filp,
- struct drm_mode_fb_cmd *mode_cmd);
+struct drm_framebuffer *radeon_framebuffer_create(struct drm_device *dev,
+ struct drm_mode_fb_cmd *mode_cmd,
+ void *mm_private);
int radeonfb_probe(struct drm_device *dev);