mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Allow mapping backing store
Backing store sgt needs to be mapped to gpuva to enable CDE swizzling. This patch adds necessary code to create sgt during initialisation so that the sgt is available when needed. Bug 1409151 Change-Id: I9d4671386fe9204d780c2e286b5f9b2dd87af35a Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
d4586cc3ab
commit
542f729aa9
@@ -157,6 +157,7 @@ struct gr_ctx_desc {
|
||||
|
||||
struct compbit_store_desc {
|
||||
struct page **pages;
|
||||
struct sg_table *sgt;
|
||||
size_t size;
|
||||
u64 base_iova;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user