diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-05-30 21:55:06 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-05-31 14:29:44 +0200 |
commit | 671cc352acd3e2b2832b59787ed8027d9f80ccc9 (patch) | |
tree | 0d74579694d613e3428c9f71decde01fd7221b37 /drivers/gpu/drm/tegra/plane.h | |
parent | drm/tegra: sor: Fix AUX device reference leak (diff) | |
download | linux-671cc352acd3e2b2832b59787ed8027d9f80ccc9.tar.xz linux-671cc352acd3e2b2832b59787ed8027d9f80ccc9.zip |
drm/tegra: Correct DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT
The format modifier is 64bit, while DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT
uses BIT() macro that is 32bit on ARM32.
The (modifier &= ~DRM_FORMAT_MOD_NVIDIA_SECTOR_LAYOUT) doesn't work as
expected on ARM32 and tegra_fb_get_tiling() fails for the tiled formats
on 32bit Tegra because modifier mask isn't applied properly. Use the
BIT_ULL() macro to fix this trouble.
Fixes: 7b6f846785f4 ("drm/tegra: Support sector layout on Tegra194")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/plane.h')
0 files changed, 0 insertions, 0 deletions