mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
To enable userspace query about comptags allocation status of a buffer, comptags are to be allocated only during buffer allocation through nvrm_gpu. Further, other metadata can be associated with the buffer during allocation. Define a new ioctl NVGPU_GPU_IOCTL_REGISTER_BUFFER and related input struct for this purpose. Define GPU characteristics flag to indicate support of buffer metadata. Bug 200586313 Change-Id: I0be8b0bf1fbbf1be2746ffe46aa929e414d3ac36 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2481882 Reviewed-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-by: Lakshmanan M <lm@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
34 KiB
34 KiB