Commit a923b18
Iouri Tarassov
drivers: hv: dxgkrnl: Implement D3DKMTEnumProcesses to match the Windows implementation
The behavior of D3DKMTEnumProcesses on Windows is that when buffer_count is 0 or
input buffer is NULL, the number of active processes is returned. The Linux implemenation
is updated to match this.
Signed-off-by: Iouri Tarassov <[email protected]>1 parent e2e5f60 commit a923b18
2 files changed
+19
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
| 968 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5373 | 5373 | | |
5374 | 5374 | | |
5375 | 5375 | | |
5376 | | - | |
| 5376 | + | |
5377 | 5377 | | |
5378 | 5378 | | |
5379 | 5379 | | |
| |||
5382 | 5382 | | |
5383 | 5383 | | |
5384 | 5384 | | |
5385 | | - | |
5386 | | - | |
5387 | | - | |
5388 | | - | |
5389 | | - | |
5390 | | - | |
5391 | 5385 | | |
5392 | 5386 | | |
5393 | 5387 | | |
| |||
5405 | 5399 | | |
5406 | 5400 | | |
5407 | 5401 | | |
| 5402 | + | |
| 5403 | + | |
| 5404 | + | |
| 5405 | + | |
| 5406 | + | |
| 5407 | + | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
| 5413 | + | |
| 5414 | + | |
5408 | 5415 | | |
5409 | 5416 | | |
5410 | 5417 | | |
| |||
5429 | 5436 | | |
5430 | 5437 | | |
5431 | 5438 | | |
5432 | | - | |
5433 | | - | |
5434 | | - | |
5435 | | - | |
| 5439 | + | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
5436 | 5443 | | |
5437 | 5444 | | |
5438 | 5445 | | |
| |||
0 commit comments