diff options
author | Nirmoy Das <nirmoy.aiemd@gmail.com> | 2020-06-24 21:26:44 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-06-26 15:00:41 +0300 |
commit | 0dc9b286b8d2c219a55f6ad05d144aa4da495e97 (patch) | |
tree | 7235569aa19fd0c201e145e7679fa64250e7c83d /drivers/gpu/drm/nouveau/nouveau_fbcon.c | |
parent | 0b17fc08e396d005c65993c7237f05a107473042 (diff) | |
download | linux-0dc9b286b8d2c219a55f6ad05d144aa4da495e97.tar.xz |
drm/nouveau: don't use ttm bo->offset v3
Store ttm bo->offset in struct nouveau_bo instead.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/372932/
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c index 24d543a01f43..1341c6fca3ed 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c +++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c @@ -393,7 +393,7 @@ nouveau_fbcon_create(struct drm_fb_helper *helper, /* To allow resizeing without swapping buffers */ NV_INFO(drm, "allocated %dx%d fb: 0x%llx, bo %p\n", - fb->base.width, fb->base.height, fb->nvbo->bo.offset, nvbo); + fb->base.width, fb->base.height, fb->nvbo->offset, nvbo); vga_switcheroo_client_fb_set(dev->pdev, info); return 0; |