mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
UPSTREAM: 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. Change-Id: I253c94e44b0ec1a4718e21927a5b8bfe604bc8b4 Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2545945 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
9ca27f1245
commit
d885fa7b15
@@ -21,9 +21,15 @@ enum tegra_bo_tiling_mode {
|
||||
TEGRA_BO_TILING_MODE_BLOCK,
|
||||
};
|
||||
|
||||
enum tegra_bo_sector_layout {
|
||||
TEGRA_BO_SECTOR_LAYOUT_TEGRA,
|
||||
TEGRA_BO_SECTOR_LAYOUT_GPU,
|
||||
};
|
||||
|
||||
struct tegra_bo_tiling {
|
||||
enum tegra_bo_tiling_mode mode;
|
||||
unsigned long value;
|
||||
enum tegra_bo_sector_layout sector_layout;
|
||||
};
|
||||
|
||||
struct tegra_bo {
|
||||
|
||||
Reference in New Issue
Block a user