diff options
| author | Damien Le Moal <[email protected]> | 2017-12-21 15:43:41 +0900 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-01-05 09:22:17 -0700 |
| commit | c117bac70133dbff9ed7fcbd91ef82b4ee518797 (patch) | |
| tree | c7ce23c0147bfc758e15f367881edbdba325d67e /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | |
| parent | 5700f69178e91a6b21250049b86148ed5e9550c1 (diff) | |
deadline-iosched: Introduce dispatch helpers
Avoid directly referencing the next_rq and fifo_list arrays using the
helper functions deadline_next_request() and deadline_fifo_request() to
facilitate changes in the dispatch request selection in
deadline_dispatch_requests() for zoned block devices.
While at it, also remove the unnecessary forward declaration of the
function deadline_move_request().
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c')
0 files changed, 0 insertions, 0 deletions