summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-15 16:42:44 +1000
committerDave Airlie <airlied@redhat.com>2008-02-15 16:42:44 +1000
commit088b38382962a9dccca59a53af2444a1fe8bc18f (patch)
tree981c916ffa7cc397a14569d0a5321ef5c7e83ed7 /linux-core/drm_crtc.c
parent222092a1a810b67b014ad6881f0c028ec6563329 (diff)
fb: fixup the offset by getting it from the right place
Diffstat (limited to 'linux-core/drm_crtc.c')
-rw-r--r--linux-core/drm_crtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 3a0dd9c8..aceb31b4 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1754,7 +1754,6 @@ int drm_mode_addfb(struct drm_device *dev,
fb->pitch = r->pitch;
fb->bits_per_pixel = r->bpp;
fb->depth = r->depth;
- fb->offset = bo->offset;
fb->bo = bo;
r->buffer_id = fb->id;