mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: remove user managed addr space capability flag
Remove NVGPU_GPU_IOCTL_ALLOC_AS_FLAGS_USERSPACE_MANAGED and NVGPU_AS_ALLOC_USERSPACE_MANAGED flags which are used for supporting userspace managed address-space. This functionality is not implemented fully in kernel neither going to be implemented in near future. Jira NVGPU-9832 Bug 4034184 Change-Id: I3787d92c44682b02d440e52c7a0c8c0553742dcc Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2882168 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
84bb919909
commit
9512b9f1de
@@ -102,8 +102,6 @@ static u32 gk20a_as_translate_as_alloc_flags(struct gk20a *g, u32 flags)
|
||||
{
|
||||
u32 core_flags = 0;
|
||||
|
||||
if (flags & NVGPU_GPU_IOCTL_ALLOC_AS_FLAGS_USERSPACE_MANAGED)
|
||||
core_flags |= NVGPU_AS_ALLOC_USERSPACE_MANAGED;
|
||||
if (flags & NVGPU_GPU_IOCTL_ALLOC_AS_FLAGS_UNIFIED_VA)
|
||||
core_flags |= NVGPU_AS_ALLOC_UNIFIED_VA;
|
||||
|
||||
@@ -234,8 +232,6 @@ static struct nvgpu_flags_mapping flags_mapping[] = {
|
||||
NVGPU_SUPPORT_CYCLE_STATS},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS_SNAPSHOT,
|
||||
NVGPU_SUPPORT_CYCLE_STATS_SNAPSHOT},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_USERSPACE_MANAGED_AS,
|
||||
NVGPU_SUPPORT_USERSPACE_MANAGED_AS},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_TSG,
|
||||
NVGPU_SUPPORT_TSG},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_CLOCK_CONTROLS,
|
||||
|
||||
Reference in New Issue
Block a user