summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/hub.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-12-14 15:37:53 +0300
committerThierry Reding <treding@nvidia.com>2017-12-21 16:52:34 +0300
commit1087fac18b8e3ec8fadf1595bbc46dce7ff08a81 (patch)
treebcaa99364e5ef62abc799aa36aa4625235e3a61a /drivers/gpu/drm/tegra/hub.h
parent511c7023cf23421d1d0455b22c139fe1be1b9e87 (diff)
downloadlinux-1087fac18b8e3ec8fadf1595bbc46dce7ff08a81.tar.xz
drm/tegra: dc: Use direct offset to plane registers
Traditionally, windows were accessed indirectly, through a register selection window that required a global register to be programmed with the index of the window to access. Since the global register could be written from modesetting functions as well as the interrupt handler concurrently, accesses had to be serialized using a lock. Using direct accesses to the window registers the lock can be avoided. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/hub.h')
-rw-r--r--drivers/gpu/drm/tegra/hub.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/hub.h b/drivers/gpu/drm/tegra/hub.h
index 965c333736b0..890a47cd05c3 100644
--- a/drivers/gpu/drm/tegra/hub.h
+++ b/drivers/gpu/drm/tegra/hub.h
@@ -28,7 +28,6 @@ struct tegra_windowgroup {
struct tegra_shared_plane {
struct tegra_plane base;
struct tegra_windowgroup *wgrp;
- struct tegra_dc *dc;
};
static inline struct tegra_shared_plane *