summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2022-10-19 04:43:50 +0200
committerZack Rusin <zackr@vmware.com>2022-10-20 03:46:16 +0200
commit7c99616e3fe7f35fe25bf6f5797267da29b4751e (patch)
treec26ae66177a60d9c9c4a2824122cfaeeb8080179 /include/drm
parentdrm/mgag200: Fix PLL setup for G200_SE_A rev >=4 (diff)
downloadlinux-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 'include/drm')
-rw-r--r--include/drm/drm_mode_config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 6b5e01295348..5362702fffe1 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -345,7 +345,6 @@ struct drm_mode_config_funcs {
* @max_width: maximum fb pixel width on this device
* @max_height: maximum fb pixel height on this device
* @funcs: core driver provided mode setting functions
- * @fb_base: base address of the framebuffer
* @poll_enabled: track polling support for this device
* @poll_running: track polling status for this device
* @delayed_event: track delayed poll uevent deliver for this device
@@ -542,7 +541,6 @@ struct drm_mode_config {
int min_width, min_height;
int max_width, max_height;
const struct drm_mode_config_funcs *funcs;
- resource_size_t fb_base;
/* output poll support */
bool poll_enabled;