diff options
author | Thierry Reding <treding@nvidia.com> | 2021-03-26 17:51:39 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-03-31 18:42:14 +0300 |
commit | 7b6f846785f41d57917e36851c120cfbe87f0809 (patch) | |
tree | 7f50d78b1d32e0b0bc8d2d7424a5bd8bbd889c01 /drivers/gpu/drm/tegra/drm.h | |
parent | 05d1adfe2a8b5c6a794a9927d1991a00c5d68f1d (diff) | |
download | linux-7b6f846785f41d57917e36851c120cfbe87f0809.tar.xz |
drm/tegra: Support sector layout on Tegra194
Tegra194 has a special physical address bit that enables some memory
swizzling logic to support different sector layouts. Support the bit
that selects the sector layout which is passed in the framebuffer
modifier.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index eef933303a3c..87df251c1fcf 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h @@ -24,6 +24,9 @@ #include "hub.h" #include "trace.h" +/* XXX move to include/uapi/drm/drm_fourcc.h? */ +#define DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT BIT(22) + struct reset_control; #ifdef CONFIG_DRM_FBDEV_EMULATION |