diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-07 03:24:14 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 07:59:44 +0200 |
commit | 180cc30637b47dafa26e3202a41964b5ebdab365 (patch) | |
tree | c6c6831aab07a9abd78c6ec5ce3c5551b462f252 /drivers/gpu/drm/nouveau/nv50_display.c | |
parent | drm/nouveau: convert some bo.offset use to vma.offset (diff) | |
download | linux-180cc30637b47dafa26e3202a41964b5ebdab365.tar.xz linux-180cc30637b47dafa26e3202a41964b5ebdab365.zip |
drm/nouveau: convert bo.mem.start usage to bo.offset
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 08da478ba544..93857e6c662d 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -484,7 +484,7 @@ nv50_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb, OUT_RING (evo, 0x00000000); OUT_RING (evo, 0x00000000); BEGIN_RING(evo, 0, 0x0800, 5); - OUT_RING (evo, (nv_fb->nvbo->bo.mem.start << PAGE_SHIFT) >> 8); + OUT_RING (evo, nv_fb->nvbo->bo.offset >> 8); OUT_RING (evo, 0); OUT_RING (evo, (fb->height << 16) | fb->width); OUT_RING (evo, nv_fb->r_pitch); |