mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
Merge airlied/drm-next into drm-misc-next
Archit requested this backmerge to facilitate merging some patches depending on changes between -rc2 & -rc5 Signed-off-by: Sean Paul <seanpaul@chromium.org>
This commit is contained in:
commit
0e8841ec7e
1094 changed files with 21968 additions and 23619 deletions
|
|
@ -472,6 +472,23 @@ struct ttm_bo_driver {
|
|||
*/
|
||||
unsigned long (*io_mem_pfn)(struct ttm_buffer_object *bo,
|
||||
unsigned long page_offset);
|
||||
|
||||
/**
|
||||
* Read/write memory buffers for ptrace access
|
||||
*
|
||||
* @bo: the BO to access
|
||||
* @offset: the offset from the start of the BO
|
||||
* @buf: pointer to source/destination buffer
|
||||
* @len: number of bytes to copy
|
||||
* @write: whether to read (0) from or write (non-0) to BO
|
||||
*
|
||||
* If successful, this function should return the number of
|
||||
* bytes copied, -EIO otherwise. If the number of bytes
|
||||
* returned is < len, the function may be called again with
|
||||
* the remainder of the buffer to copy.
|
||||
*/
|
||||
int (*access_memory)(struct ttm_buffer_object *bo, unsigned long offset,
|
||||
void *buf, int len, int write);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue