diff options
author | Zack Rusin <zackr@vmware.com> | 2022-10-19 04:43:50 +0200 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2022-10-20 03:46:16 +0200 |
commit | 7c99616e3fe7f35fe25bf6f5797267da29b4751e (patch) | |
tree | c26ae66177a60d9c9c4a2824122cfaeeb8080179 /drivers/gpu/drm/tegra/fb.c | |
parent | drm/mgag200: Fix PLL setup for G200_SE_A rev >=4 (diff) | |
download | linux-7c99616e3fe7f35fe25bf6f5797267da29b4751e.tar.xz linux-7c99616e3fe7f35fe25bf6f5797267da29b4751e.zip |
drm: Remove drm_mode_config::fb_base
The fb_base in struct drm_mode_config has been unused for a long time.
Some drivers set it and some don't leading to a very confusing state
where the variable can't be relied upon, because there's no indication
as to which driver sets it and which doesn't.
The only usage of fb_base is internal to two drivers so instead of trying
to force it into all the drivers to get it into a coherent state
completely remove it.
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Thomas Zimmermann <tzimemrmann@suse.de>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221019024401.394617-1-zack@kde.org
Diffstat (limited to 'drivers/gpu/drm/tegra/fb.c')
-rw-r--r-- | drivers/gpu/drm/tegra/fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/fb.c b/drivers/gpu/drm/tegra/fb.c index 9291209154a7..bce71c0ccc9e 100644 --- a/drivers/gpu/drm/tegra/fb.c +++ b/drivers/gpu/drm/tegra/fb.c @@ -280,7 +280,6 @@ static int tegra_fbdev_probe(struct drm_fb_helper *helper, } } - drm->mode_config.fb_base = (resource_size_t)bo->iova; info->screen_base = (void __iomem *)bo->vaddr + offset; info->screen_size = size; info->fix.smem_start = (unsigned long)(bo->iova + offset); |