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_legacy_crtc.c | |
parent | fd9e05b3f4f464ddf08097817a3af824f54a97ca (diff) |
radeon/drm: fixup ref counting in on fb objs
Diffstat (limited to 'linux-core/radeon_legacy_crtc.c')
-rw-r--r-- | linux-core/radeon_legacy_crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/radeon_legacy_crtc.c b/linux-core/radeon_legacy_crtc.c index 820bd548..c0a3c0fa 100644 --- a/linux-core/radeon_legacy_crtc.c +++ b/linux-core/radeon_legacy_crtc.c @@ -231,7 +231,7 @@ static bool radeon_set_crtc1_base(struct drm_crtc *crtc, int x, int y) radeon_fb = to_radeon_framebuffer(crtc->fb); - obj = radeon_fb->base.mm_private; + obj = radeon_fb->obj; obj_priv = obj->driver_private; crtc_offset = obj_priv->bo->offset; @@ -654,7 +654,7 @@ static bool radeon_set_crtc2_base(struct drm_crtc *crtc, int x, int y) radeon_fb = to_radeon_framebuffer(crtc->fb); - obj = radeon_fb->base.mm_private; + obj = radeon_fb->obj; obj_priv = obj->driver_private; crtc2_offset = obj_priv->bo->offset; |