mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: Add support for CDE scatter buffers
Add support for CDE scatter buffers. When the bus addresses for surfaces are not contiguous as seen by the GPU (e.g., when SMMU is bypassed), CDE swizzling needs additional per-page information. This information is populated in a scatter buffer when required. Bug 1604102 Change-Id: I3384e2cfb5d5f628ed0f21375bdac8e36b77ae4f Signed-off-by: Jussi Rasanen <jrasanen@nvidia.com> Reviewed-on: http://git-master/r/789436 Reviewed-on: http://git-master/r/791243 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
613990cb39
commit
bef2159086
@@ -223,7 +223,9 @@ struct nvgpu_gpu_prepare_compressible_read_args {
|
||||
__s32 fd;
|
||||
} fence; /* in/out */
|
||||
__u32 zbc_color; /* out */
|
||||
__u32 reserved[5]; /* must be zero */
|
||||
__u32 reserved; /* must be zero */
|
||||
__u64 scatterbuffer_offset; /* in, within handle */
|
||||
__u32 reserved2[2]; /* must be zero */
|
||||
};
|
||||
|
||||
struct nvgpu_gpu_mark_compressible_write_args {
|
||||
|
||||
Reference in New Issue
Block a user