lkml.org 
[lkml]   [2014]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 33/83] hsa/radeon: Fix coding style in cik_int.h
Date
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
---
drivers/gpu/hsa/radeon/cik_int.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/hsa/radeon/cik_int.h b/drivers/gpu/hsa/radeon/cik_int.h
index e98551d..350f0c2 100644
--- a/drivers/gpu/hsa/radeon/cik_int.h
+++ b/drivers/gpu/hsa/radeon/cik_int.h
@@ -26,20 +26,20 @@
#include <linux/types.h>

struct cik_ih_ring_entry {
- uint32_t source_id : 8;
- uint32_t reserved1 : 8;
- uint32_t reserved2 : 16;
+ uint32_t source_id:8;
+ uint32_t reserved1:8;
+ uint32_t reserved2:16;

- uint32_t data : 28;
- uint32_t reserved3 : 4;
+ uint32_t data:28;
+ uint32_t reserved3:4;

/* pipeid, meid and unused3 are officially called RINGID,
* but for our purposes, they always decode into pipe and ME. */
- uint32_t pipeid : 2;
- uint32_t meid : 2;
- uint32_t reserved4 : 4;
- uint32_t vmid : 8;
- uint32_t pasid : 16;
+ uint32_t pipeid:2;
+ uint32_t meid:2;
+ uint32_t reserved4:4;
+ uint32_t vmid:8;
+ uint32_t pasid:16;

uint32_t reserved5;
};
--
1.9.1


\
 
 \ /
  Last update: 2014-07-13 13:41    [W:0.307 / U:1.520 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site