|
26 | 26 | struct ioctl_desc { |
27 | 27 | int (*ioctl_callback)(struct dxgprocess *p, void __user *arg); |
28 | 28 | u32 ioctl; |
29 | | - u32 arg_size; |
30 | 29 | }; |
31 | 30 |
|
32 | 31 | #ifdef DEBUG |
@@ -91,7 +90,7 @@ static const struct file_operations dxg_resource_fops = { |
91 | 90 | }; |
92 | 91 |
|
93 | 92 | static int dxgkio_open_adapter_from_luid(struct dxgprocess *process, |
94 | | - void *__user inargs) |
| 93 | + void *__user inargs) |
95 | 94 | { |
96 | 95 | struct d3dkmt_openadapterfromluid args; |
97 | 96 | int ret; |
@@ -1002,7 +1001,7 @@ dxgkio_create_hwqueue(struct dxgprocess *process, void *__user inargs) |
1002 | 1001 | } |
1003 | 1002 |
|
1004 | 1003 | static int dxgkio_destroy_hwqueue(struct dxgprocess *process, |
1005 | | - void *__user inargs) |
| 1004 | + void *__user inargs) |
1006 | 1005 | { |
1007 | 1006 | struct d3dkmt_destroyhwqueue args; |
1008 | 1007 | int ret; |
@@ -2280,7 +2279,8 @@ dxgkio_submit_command(struct dxgprocess *process, void *__user inargs) |
2280 | 2279 | } |
2281 | 2280 |
|
2282 | 2281 | static int |
2283 | | -dxgkio_submit_command_to_hwqueue(struct dxgprocess *process, void *__user inargs) |
| 2282 | +dxgkio_submit_command_to_hwqueue(struct dxgprocess *process, |
| 2283 | + void *__user inargs) |
2284 | 2284 | { |
2285 | 2285 | int ret; |
2286 | 2286 | struct d3dkmt_submitcommandtohwqueue args; |
@@ -5087,8 +5087,7 @@ open_resource(struct dxgprocess *process, |
5087 | 5087 | } |
5088 | 5088 |
|
5089 | 5089 | static int |
5090 | | -dxgkio_open_resource_nt(struct dxgprocess *process, |
5091 | | - void *__user inargs) |
| 5090 | +dxgkio_open_resource_nt(struct dxgprocess *process, void *__user inargs) |
5092 | 5091 | { |
5093 | 5092 | struct d3dkmt_openresourcefromnthandle args; |
5094 | 5093 | struct d3dkmt_openresourcefromnthandle *__user args_user = inargs; |
@@ -5166,7 +5165,7 @@ static struct ioctl_desc ioctls[] = { |
5166 | 5165 | /* 0x14 */ {dxgkio_enum_adapters, LX_DXENUMADAPTERS2}, |
5167 | 5166 | /* 0x15 */ {dxgkio_close_adapter, LX_DXCLOSEADAPTER}, |
5168 | 5167 | /* 0x16 */ {dxgkio_change_vidmem_reservation, |
5169 | | - LX_DXCHANGEVIDEOMEMORYRESERVATION}, |
| 5168 | + LX_DXCHANGEVIDEOMEMORYRESERVATION}, |
5170 | 5169 | /* 0x17 */ {}, |
5171 | 5170 | /* 0x18 */ {dxgkio_create_hwqueue, LX_DXCREATEHWQUEUE}, |
5172 | 5171 | /* 0x19 */ {dxgkio_destroy_device, LX_DXDESTROYDEVICE}, |
@@ -5205,7 +5204,7 @@ static struct ioctl_desc ioctls[] = { |
5205 | 5204 | LX_DXSIGNALSYNCHRONIZATIONOBJECTFROMGPU2}, |
5206 | 5205 | /* 0x34 */ {dxgkio_submit_command_to_hwqueue, LX_DXSUBMITCOMMANDTOHWQUEUE}, |
5207 | 5206 | /* 0x35 */ {dxgkio_submit_signal_to_hwqueue, |
5208 | | - LX_DXSUBMITSIGNALSYNCOBJECTSTOHWQUEUE}, |
| 5207 | + LX_DXSUBMITSIGNALSYNCOBJECTSTOHWQUEUE}, |
5209 | 5208 | /* 0x36 */ {dxgkio_submit_wait_to_hwqueue, |
5210 | 5209 | LX_DXSUBMITWAITFORSYNCOBJECTSTOHWQUEUE}, |
5211 | 5210 | /* 0x37 */ {dxgkio_unlock2, LX_DXUNLOCK2}, |
|
0 commit comments