summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
diff options
context:
space:
mode:
authorKent Russell2017-08-16 05:00:04 +0200
committerOded Gabbay2017-08-16 05:00:04 +0200
commit8eabaf54cfb34d185b7c9684bc891397d757d15e (patch)
tree9565337fe0fca35e2932c610d2c3483fbeaea75b /drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
parentdrm/amdgpu: Remove hard-coded assumptions about compute pipes (diff)
downloadkernel-qcow2-linux-8eabaf54cfb34d185b7c9684bc891397d757d15e.tar.gz
kernel-qcow2-linux-8eabaf54cfb34d185b7c9684bc891397d757d15e.tar.xz
kernel-qcow2-linux-8eabaf54cfb34d185b7c9684bc891397d757d15e.zip
drm/amdkfd: Clean up KFD style errors and warnings v2
Using checkpatch.pl -f <file> showed a number of style issues. This patch addresses as many of them as possible. Some long lines have been left for readability, but attempts to minimize them have been made. v2: Broke long lines in gfx_v7 get_fw_version Signed-off-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h b/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
index 5b393f3e34a9..97e5442957a4 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
@@ -28,14 +28,14 @@
#define PM4_MES_HEADER_DEFINED
union PM4_MES_TYPE_3_HEADER {
struct {
- uint32_t reserved1:8; /* < reserved */
- uint32_t opcode:8; /* < IT opcode */
- uint32_t count:14; /* < number of DWORDs - 1
- * in the information body.
- */
- uint32_t type:2; /* < packet identifier.
- * It should be 3 for type 3 packets
- */
+ /* reserved */
+ uint32_t reserved1:8;
+ /* IT opcode */
+ uint32_t opcode:8;
+ /* number of DWORDs - 1 in the information body */
+ uint32_t count:14;
+ /* packet identifier. It should be 3 for type 3 packets */
+ uint32_t type:2;
};
uint32_t u32all;
};