summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2018-03-30 16:11:26 +0200
committerThierry Reding <treding@nvidia.com>2018-05-17 17:44:48 +0200
commit0bc6af006f5ce7fb92d41dc8e01b621bd8d2226b (patch)
tree2fa597377061de387c184350a694ee0603404b9b /drivers/gpu/drm/tegra/drm.h
parentdrm/tegra: Remove duplicate framebuffer num_planes (diff)
downloadlinux-0bc6af006f5ce7fb92d41dc8e01b621bd8d2226b.tar.xz
linux-0bc6af006f5ce7fb92d41dc8e01b621bd8d2226b.zip
drm/tegra: Move GEM BOs to drm_framebuffer
Since drm_framebuffer can now store GEM objects directly, place them there rather than in our own subclass. As this makes the framebuffer create_handle function the same as the GEM framebuffer helper, we can reuse that. Signed-off-by: Daniel Stone <daniels@collabora.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: linux-tegra@vger.kernel.org Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r--drivers/gpu/drm/tegra/drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h
index 61a4657e45fa..7f9810f026e8 100644
--- a/drivers/gpu/drm/tegra/drm.h
+++ b/drivers/gpu/drm/tegra/drm.h
@@ -31,7 +31,6 @@ struct reset_control;
struct tegra_fb {
struct drm_framebuffer base;
- struct tegra_bo **planes;
};
#ifdef CONFIG_DRM_FBDEV_EMULATION