msm: kgsl: Fix miscellaneous comments uapi header file

Some structure names and their fields are inappropriate
in comments of uapi header file. Fix the same as well.

Change-Id: If87f7befc8d25638eed82dc9a5200943aec27dcb
Signed-off-by: Sanjay Yadav <quic_sanjyada@quicinc.com>
This commit is contained in:
Sanjay Yadav
2023-03-24 15:59:08 +05:30
parent 8fa442b60b
commit 8f4980da4f

View File

@@ -13,7 +13,7 @@
/*
* The KGSL version has proven not to be very useful in userspace if features
* are cherry picked into other trees out of order so it is frozen as of 3.14.
* It is left here for backwards compatabilty and as a reminder that
* It is left here for backward compatibility and as a reminder that
* software releases are never linear. Also, I like pie.
*/
@@ -200,7 +200,7 @@ enum kgsl_user_mem_type {
KGSL_USER_MEM_TYPE_ADDR = 0x00000002,
KGSL_USER_MEM_TYPE_ION = 0x00000003,
/*
* ION type is retained for backwards compatibility but Ion buffers are
* ION type is retained for backward compatibility but ION buffers are
* dma-bufs so try to use that naming if we can
*/
KGSL_USER_MEM_TYPE_DMABUF = 0x00000003,
@@ -990,7 +990,7 @@ struct kgsl_gpumem_sync_cache {
#define KGSL_GPUMEM_CACHE_FLUSH \
(KGSL_GPUMEM_CACHE_CLEAN | KGSL_GPUMEM_CACHE_INV)
/* Flag to ensure backwards compatibility of kgsl_gpumem_sync_cache struct */
/* Flag to ensure backward compatibility of kgsl_gpumem_sync_cache struct */
#define KGSL_GPUMEM_CACHE_RANGE (1 << 31U)
#define IOCTL_KGSL_GPUMEM_SYNC_CACHE \
@@ -1047,8 +1047,8 @@ struct kgsl_perfcounter_put {
/**
* struct kgsl_perfcounter_query - argument to IOCTL_KGSL_PERFCOUNTER_QUERY
* @groupid: Performance counter group ID
* @countable: Return active countables array
* @size: Size of active countables array
* @countables: Return active countables array
* @count: Number of entries in @countables
* @max_counters: Return total number counters for the group ID
*
* Query the available performance counters given a groupid. The array
@@ -1075,11 +1075,10 @@ struct kgsl_perfcounter_query {
_IOWR(KGSL_IOC_TYPE, 0x3A, struct kgsl_perfcounter_query)
/**
* struct kgsl_perfcounter_query - argument to IOCTL_KGSL_PERFCOUNTER_QUERY
* struct kgsl_perfcounter_read_group - argument to IOCTL_KGSL_PERFCOUNTER_QUERY
* @groupid: Performance counter group IDs
* @countable: Performance counter countable IDs
* @value: Return performance counter reads
* @size: Size of all arrays (groupid/countable pair and return value)
*
* Read in the current value of a performance counter given by the groupid
* and countable.
@@ -1519,18 +1518,18 @@ struct kgsl_command_syncpoint {
};
/**
* struct kgsl_command_object - Argument for IOCTL_KGSL_GPU_COMMAND
* struct kgsl_gpu_command - Argument for IOCTL_KGSL_GPU_COMMAND
* @flags: Current flags for the object
* @cmdlist: List of kgsl_command_objects for submission
* @cmd_size: Size of kgsl_command_objects structure
* @cmdsize: Size of kgsl_command_objects structure
* @numcmds: Number of kgsl_command_objects in command list
* @objlist: List of kgsl_command_objects for tracking
* @obj_size: Size of kgsl_command_objects structure
* @objsize: Size of kgsl_command_objects structure
* @numobjs: Number of kgsl_command_objects in object list
* @synclist: List of kgsl_command_syncpoints
* @sync_size: Size of kgsl_command_syncpoint structure
* @syncsize: Size of kgsl_command_syncpoint structure
* @numsyncs: Number of kgsl_command_syncpoints in syncpoint list
* @context_id: Context ID submittin ghte kgsl_gpu_command
* @context_id: Context ID submitting the kgsl_gpu_command
* @timestamp: Timestamp for the submitted commands
*/
struct kgsl_gpu_command {
@@ -1827,7 +1826,7 @@ struct kgsl_gpu_aux_command_bind {
};
/**
* struct kgsl_aux_command_generic - Container for an AUX command
* struct kgsl_gpu_aux_command_generic - Container for an AUX command
* @priv: Pointer to the type specific buffer
* @size: Size of the type specific buffer
* @type: type of sync point defined here
@@ -1852,7 +1851,7 @@ struct kgsl_gpu_aux_command_generic {
* @synclist: List of &struct kgsl_command_syncpoint objects
* @syncsize: Size of each entry in @synclist
* @numsyncs: Number of entries in @synclist
* @context_id: ID of the context submtting the aux command
* @context_id: ID of the context submitting the aux command
* @timestamp: Timestamp for the command submission
*
* Describe a GPU auxiliary command. Auxiliary commands are tasks that are not
@@ -2008,7 +2007,7 @@ struct kgsl_timeline_fence_get {
* @timelines_size: The size of each element in @timelines
*
* An aux command for timeline signals that can be pointed to by
* &struct kgsl_aux_command_generic when the type is
* &struct kgsl_gpu_aux_command_generic when the type is
* KGSL_GPU_AUX_COMMAND_TIMELINE.
*/
struct kgsl_gpu_aux_command_timeline {