summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-20 10:51:19 +1000
committerDave Airlie <airlied@redhat.com>2008-02-20 11:27:22 +1000
commit8844245cfcc5b19caafc772fd457401ab3253a28 (patch)
tree5e472aa5c55e3607ddd6c65528ad06da83816475 /shared-core
parent2c409f9a07a9d815b95fc8a5a4705d7988afe5df (diff)
drm/fb: get rid of offset from structure use bo offset
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_ms_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_ms_crtc.c b/shared-core/radeon_ms_crtc.c
index 0da5a5a4..b2383859 100644
--- a/shared-core/radeon_ms_crtc.c
+++ b/shared-core/radeon_ms_crtc.c
@@ -556,7 +556,7 @@ static void radeon_ms_crtc1_mode_set(struct drm_crtc *crtc,
}
radeon_pll1_compute(crtc, adjusted_mode);
- state->crtc_offset = REG_S(CRTC_OFFSET, CRTC_OFFSET, crtc->fb->offset);
+ state->crtc_offset = REG_S(CRTC_OFFSET, CRTC_OFFSET, crtc->fb->bo->offset);
state->crtc_gen_cntl = CRTC_GEN_CNTL__CRTC_EXT_DISP_EN |
CRTC_GEN_CNTL__CRTC_EN |
REG_S(CRTC_GEN_CNTL, CRTC_PIX_WIDTH, format);