aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/tegra/dc.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-10-12 17:40:46 +0200
committerThierry Reding <treding@nvidia.com>2017-12-13 13:42:10 +0100
commit31b02caea3b30b044fe39301aad34886f7fd2556 (patch)
tree70b09517c706fa1ac2a362ef34bfa39648bba1d0 /drivers/gpu/drm/tegra/dc.h
parentdrm/tegra: dc: Support background color (diff)
downloadwireguard-linux-31b02caea3b30b044fe39301aad34886f7fd2556.tar.xz
wireguard-linux-31b02caea3b30b044fe39301aad34886f7fd2556.zip
drm/tegra: Use atomic commit helpers
There's no reason not to use them, and they already get all the semantics right, so rip out all of the custom code and replace it by the helpers. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.h')
-rw-r--r--drivers/gpu/drm/tegra/dc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dc.h b/drivers/gpu/drm/tegra/dc.h
index 571a6c78619f..581818064b4f 100644
--- a/drivers/gpu/drm/tegra/dc.h
+++ b/drivers/gpu/drm/tegra/dc.h
@@ -579,6 +579,8 @@ int tegra_dc_rgb_exit(struct tegra_dc *dc);
#define DC_WINBUF_SURFACE_KIND_BLOCK (2 << 0)
#define DC_WINBUF_SURFACE_KIND_BLOCK_HEIGHT(x) (((x) & 0x7) << 4)
+#define DC_WINBUF_START_ADDR_HI 0x80d
+
#define DC_WINBUF_AD_UFLOW_STATUS 0xbca
#define DC_WINBUF_BD_UFLOW_STATUS 0xdca
#define DC_WINBUF_CD_UFLOW_STATUS 0xfca