diff options
author | Dave Airlie <airlied@redhat.com> | 2008-11-03 09:36:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-03 09:36:03 +1000 |
commit | 563e7e5930a8d628b33cb1f7a9aaea251f2fc50b (patch) | |
tree | 064d2f10bbd2b4eb9178cbafd12f0fb680ed5bdd /linux-core/radeon_mode.h | |
parent | fd9e05b3f4f464ddf08097817a3af824f54a97ca (diff) |
radeon/drm: fixup ref counting in on fb objs
Diffstat (limited to 'linux-core/radeon_mode.h')
-rw-r--r-- | linux-core/radeon_mode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/radeon_mode.h b/linux-core/radeon_mode.h index 64608e35..23de1088 100644 --- a/linux-core/radeon_mode.h +++ b/linux-core/radeon_mode.h @@ -255,6 +255,7 @@ struct radeon_connector { struct radeon_framebuffer { struct drm_framebuffer base; struct drm_bo_kmap_obj kmap_obj; + struct drm_gem_object *obj; }; extern struct radeon_i2c_chan *radeon_i2c_create(struct drm_device *dev, @@ -323,7 +324,7 @@ extern void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, u16 blue, int regno); struct drm_framebuffer *radeon_framebuffer_create(struct drm_device *dev, struct drm_mode_fb_cmd *mode_cmd, - void *mm_private); + struct drm_gem_object *obj); int radeonfb_probe(struct drm_device *dev); |