mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: update logical and physical gpc map doc
This patch fixes the documentation for logical and physical gpc map. The earlier version incorrectly documents the expected buffer size. Bug 3944943 Change-Id: I5c3921dea58732407737cebfa8697fc7010b5b95 Signed-off-by: Martin Radev <mradev@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2912376 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
f1613a300b
commit
a67ac8bac9
@@ -506,7 +506,7 @@ struct nvgpu_gpu_get_tpc_masks_args {
|
||||
|
||||
struct nvgpu_gpu_get_gpc_physical_map_args {
|
||||
/* [in] GPC logical-map-buffer size. It must be
|
||||
* sizeof(__u32) * fls(gpc_mask)
|
||||
* sizeof(__u32) * popcnt(gpc_mask)
|
||||
*/
|
||||
__u32 map_buf_size;
|
||||
__u32 reserved;
|
||||
@@ -519,7 +519,7 @@ struct nvgpu_gpu_get_gpc_physical_map_args {
|
||||
|
||||
struct nvgpu_gpu_get_gpc_logical_map_args {
|
||||
/* [in] GPC logical-map-buffer size. It must be
|
||||
* sizeof(__u32) * fls(gpc_mask)
|
||||
* sizeof(__u32) * popcnt(gpc_mask)
|
||||
*/
|
||||
__u32 map_buf_size;
|
||||
__u32 reserved;
|
||||
|
||||
Reference in New Issue
Block a user