diff options
author | Xianzhong <xianzhong.li@nxp.com> | 2017-10-13 19:15:34 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 5b62f5059a2fe41ac9f990edff036e28b2a1944c (patch) | |
tree | 84c034a41572538f834981c4f36a187900448fce /drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h | |
parent | aca26b1e312689ef25cf946840cf64cf5e0b1bca (diff) |
MGS-3214 gpu-viv: integrate 6.2.4 driver
add dmabuf/gem feature through drm galcore,
include more bug-fixing in gpu kernel driver.
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h index c17a8f5c56d7..4fcf6969567b 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.h @@ -70,6 +70,10 @@ struct _LINUX_MDL_MAP struct _LINUX_MDL { + gckOS os; + + atomic_t refs; + char * addr; gctINT numPages; @@ -85,6 +89,9 @@ struct _LINUX_MDL /* Private data used by allocator. */ void * priv; + /* exported dma_buf */ + void * dmabuf; + uint gid; struct list_head link; |