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/nouveau_drv.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/nouveau_drv.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index 4e481c39f5a4..8256370e5938 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -358,7 +358,7 @@ nouveau_pci_resume(struct pci_dev *pdev) list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); - u32 offset = nv_crtc->cursor.nvbo->bo.mem.start << PAGE_SHIFT; + u32 offset = nv_crtc->cursor.nvbo->bo.offset; nv_crtc->cursor.set_offset(nv_crtc, offset); nv_crtc->cursor.set_pos(nv_crtc, nv_crtc->cursor_saved_x, |