drm/ttm: fix coding style in ttm_bo_driver.h
A few 80chars issues and spaces at wrong places. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1c331f75aa
commit
585ffd6544
|
@ -386,6 +386,7 @@ struct ttm_bo_driver {
|
||||||
|
|
||||||
void (*evict_flags)(struct ttm_buffer_object *bo,
|
void (*evict_flags)(struct ttm_buffer_object *bo,
|
||||||
struct ttm_placement *placement);
|
struct ttm_placement *placement);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct ttm_bo_driver member move:
|
* struct ttm_bo_driver member move:
|
||||||
*
|
*
|
||||||
|
@ -399,9 +400,8 @@ struct ttm_bo_driver {
|
||||||
*
|
*
|
||||||
* Move a buffer between two memory regions.
|
* Move a buffer between two memory regions.
|
||||||
*/
|
*/
|
||||||
int (*move) (struct ttm_buffer_object *bo,
|
int (*move)(struct ttm_buffer_object *bo, bool evict,
|
||||||
bool evict, bool interruptible,
|
bool interruptible, bool no_wait_gpu,
|
||||||
bool no_wait_gpu,
|
|
||||||
struct ttm_mem_reg *new_mem);
|
struct ttm_mem_reg *new_mem);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -438,8 +438,10 @@ struct ttm_bo_driver {
|
||||||
* the mapping is not use anymore. io_mem_reserve & io_mem_free
|
* the mapping is not use anymore. io_mem_reserve & io_mem_free
|
||||||
* are balanced.
|
* are balanced.
|
||||||
*/
|
*/
|
||||||
int (*io_mem_reserve)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
|
int (*io_mem_reserve)(struct ttm_bo_device *bdev,
|
||||||
void (*io_mem_free)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
|
struct ttm_mem_reg *mem);
|
||||||
|
void (*io_mem_free)(struct ttm_bo_device *bdev,
|
||||||
|
struct ttm_mem_reg *mem);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optional driver callback for when BO is removed from the LRU.
|
* Optional driver callback for when BO is removed from the LRU.
|
||||||
|
|
Loading…
Reference in a new issue