<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/video/tegra/nvmap/nvmap_init.c, branch gpu-paging</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>video: tegra: nvmap: fix return value check of dma_declare_coherent_memory</title>
<updated>2018-06-06T03:32:51+00:00</updated>
<author>
<name>Pritesh Raithatha</name>
<email>praithatha@nvidia.com</email>
</author>
<published>2018-06-04T11:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=df3a4ad353e05b172278df212d42cbd0de56344e'/>
<id>df3a4ad353e05b172278df212d42cbd0de56344e</id>
<content type='text'>
Kernel-4.9 and before dma_declare_coherent_memory function was not reporting
failure. We updated the code to return the same mapping flag(MAP/NOMAP/IO)
in case of succeed.

Kernel-4.14 upstream is updated to return error in case of failure so
updating return value check in nvmap.

Bug 200417451

Change-Id: If5ae742216764bdbd31a4774bbc5730806a51a2b
Signed-off-by: Pritesh Raithatha &lt;praithatha@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1739827
GVS: Gerrit_Virtual_Submit
Tested-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kernel-4.9 and before dma_declare_coherent_memory function was not reporting
failure. We updated the code to return the same mapping flag(MAP/NOMAP/IO)
in case of succeed.

Kernel-4.14 upstream is updated to return error in case of failure so
updating return value check in nvmap.

Bug 200417451

Change-Id: If5ae742216764bdbd31a4774bbc5730806a51a2b
Signed-off-by: Pritesh Raithatha &lt;praithatha@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1739827
GVS: Gerrit_Virtual_Submit
Tested-by: Joseph Lo &lt;josephl@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: fixups for K4.14</title>
<updated>2018-05-21T15:02:31+00:00</updated>
<author>
<name>Pritesh Raithatha</name>
<email>praithatha@nvidia.com</email>
</author>
<published>2018-04-16T05:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=004dc17ed847b8ab060a1ad6d98aab1be80714f0'/>
<id>004dc17ed847b8ab060a1ad6d98aab1be80714f0</id>
<content type='text'>
linux/sched.h is split into multiple header files (linux/sched/clock.h,
linux/sched/mm.h, uapi/linux/sched/types.h, linux/sched/task.h etc.)
and those are no longer inherited as before. Including above header
files for kernel version &gt;= 4.14.

dma_buf_ops members are renamed from kmap, kmap_atomic and kunmap to
map, map_atomic and unmap. Fixing it with kernel version ifdef.

Following apis parameter is updated in K4.14. Handling
it with kernel version ifdef.
-vm_operations_struct.
-cma_init_reserved_mem.
-zap_page_range.

Use device_is_iommuable to check whether iommu is enable or not for
vpr dev.

Bug 200380854

Change-Id: I8eb1de8c09d614e5c61e6ef74319cf456e1eee73
Signed-off-by: Pritesh Raithatha &lt;praithatha@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1701553
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
linux/sched.h is split into multiple header files (linux/sched/clock.h,
linux/sched/mm.h, uapi/linux/sched/types.h, linux/sched/task.h etc.)
and those are no longer inherited as before. Including above header
files for kernel version &gt;= 4.14.

dma_buf_ops members are renamed from kmap, kmap_atomic and kunmap to
map, map_atomic and unmap. Fixing it with kernel version ifdef.

Following apis parameter is updated in K4.14. Handling
it with kernel version ifdef.
-vm_operations_struct.
-cma_init_reserved_mem.
-zap_page_range.

Use device_is_iommuable to check whether iommu is enable or not for
vpr dev.

Bug 200380854

Change-Id: I8eb1de8c09d614e5c61e6ef74319cf456e1eee73
Signed-off-by: Pritesh Raithatha &lt;praithatha@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1701553
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: support 4th IVM carveout</title>
<updated>2018-04-19T21:04:05+00:00</updated>
<author>
<name>Simon Je</name>
<email>sje@nvidia.com</email>
</author>
<published>2018-04-11T06:37:51+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1d94cf725afd5bf5a312502231a3376336e0c701'/>
<id>1d94cf725afd5bf5a312502231a3376336e0c701</id>
<content type='text'>
We need 4th IVM carveout in order to support EGLStream for linux
as producer and android as consumer configuration.

Bug 200401692

Change-Id: I269c51e432c06db3d08e9dafea33079766d450e2
Signed-off-by: Simon Je &lt;sje@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1692689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Haley Teng &lt;hteng@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need 4th IVM carveout in order to support EGLStream for linux
as producer and android as consumer configuration.

Bug 200401692

Change-Id: I269c51e432c06db3d08e9dafea33079766d450e2
Signed-off-by: Simon Je &lt;sje@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1692689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Haley Teng &lt;hteng@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: remove parameter dn from tegra_hv_mempool_reserve()</title>
<updated>2018-02-27T22:29:49+00:00</updated>
<author>
<name>Richard Zhao</name>
<email>rizhao@nvidia.com</email>
</author>
<published>2018-01-31T22:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=5619cfd67c2fc6f80f3ef2dcd606f88fe01d7604'/>
<id>5619cfd67c2fc6f80f3ef2dcd606f88fe01d7604</id>
<content type='text'>
Device tree node was not used by the function, so remove it to make the
function more common.

Jira EVLR-2364

Change-Id: I54a48c63b4c5ee6ce8d6168fd3451e6a33f69f07
Signed-off-by: Richard Zhao &lt;rizhao@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1649934
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Device tree node was not used by the function, so remove it to make the
function more common.

Jira EVLR-2364

Change-Id: I54a48c63b4c5ee6ce8d6168fd3451e6a33f69f07
Signed-off-by: Richard Zhao &lt;rizhao@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1649934
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: add to support 3rd IVM carveout</title>
<updated>2018-02-26T11:03:46+00:00</updated>
<author>
<name>Haley Teng</name>
<email>hteng@nvidia.com</email>
</author>
<published>2017-12-20T11:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=762065ca3d37e362b29ef018277832b26e014db8'/>
<id>762065ca3d37e362b29ef018277832b26e014db8</id>
<content type='text'>
To support running ccp_server (works as EGL stream consumer) on Linux VM
on CCC, we need to add the 3rd IVM carveout support (2 are used for 
cross partition EGL stream between Linux and QNX, and between Linux and 
Android.  The 3rd IVM is needed for display server since QNX owns 
display in CCC PCT configuration)

Bug 200369579

Change-Id: I879276e6c27633068627ccf1d1cf31244cc3ad7a
Signed-off-by: Haley Teng &lt;hteng@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1623161
(cherry picked from commit c5d3e3271343c42364f452b823df4b408027320b)
Reviewed-on: https://git-master.nvidia.com/r/1652136
Reviewed-by: Ravi Chandra SV &lt;ravichandrav@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support running ccp_server (works as EGL stream consumer) on Linux VM
on CCC, we need to add the 3rd IVM carveout support (2 are used for 
cross partition EGL stream between Linux and QNX, and between Linux and 
Android.  The 3rd IVM is needed for display server since QNX owns 
display in CCC PCT configuration)

Bug 200369579

Change-Id: I879276e6c27633068627ccf1d1cf31244cc3ad7a
Signed-off-by: Haley Teng &lt;hteng@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1623161
(cherry picked from commit c5d3e3271343c42364f452b823df4b408027320b)
Reviewed-on: https://git-master.nvidia.com/r/1652136
Reviewed-by: Ravi Chandra SV &lt;ravichandrav@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: allow overriding nvmap_of_ids</title>
<updated>2017-06-21T01:04:44+00:00</updated>
<author>
<name>Sri Krishna chowdary</name>
<email>schowdary@nvidia.com</email>
</author>
<published>2017-06-08T08:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=54844b7c76d048244bffd9fefe1716efacdfcd5c'/>
<id>54844b7c76d048244bffd9fefe1716efacdfcd5c</id>
<content type='text'>
We want to override nvmap_of_ids[] to allow select
behavior of nvmap based on the supported chip.

Bug 1939440

Change-Id: I2bf2c6025d06e78f1bf42730827589d3b4dd33d3
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1504796
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to override nvmap_of_ids[] to allow select
behavior of nvmap based on the supported chip.

Bug 1939440

Change-Id: I2bf2c6025d06e78f1bf42730827589d3b4dd33d3
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1504796
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: update copyrights</title>
<updated>2017-04-26T06:07:01+00:00</updated>
<author>
<name>Sri Krishna chowdary</name>
<email>schowdary@nvidia.com</email>
</author>
<published>2017-04-25T14:01:24+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c7d2b674596f890ffd4a37cad8efc72ae992a5fc'/>
<id>c7d2b674596f890ffd4a37cad8efc72ae992a5fc</id>
<content type='text'>
Update the text used in copyright as per GPLv2.

bug 200302395

Change-Id: I5ae6186cbb55f485f81804397db656845c94fcbf
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1469578
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the text used in copyright as per GPLv2.

bug 200302395

Change-Id: I5ae6186cbb55f485f81804397db656845c94fcbf
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1469578
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: Add a debugfs which shows nvmap init time</title>
<updated>2017-04-17T08:14:40+00:00</updated>
<author>
<name>Sri Krishna chowdary</name>
<email>schowdary@nvidia.com</email>
</author>
<published>2017-04-06T10:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=404425a391e986daececf45724b4e1258be4b2e3'/>
<id>404425a391e986daececf45724b4e1258be4b2e3</id>
<content type='text'>
Account for nvmap_heap_init(), nvmap_carveout's setup and nvmap's probe
as the initialization time.

bug 1899492

Change-Id: I1994c17e9268899a2892a9e58c1207ff58972f1e
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1457001
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Account for nvmap_heap_init(), nvmap_carveout's setup and nvmap's probe
as the initialization time.

bug 1899492

Change-Id: I1994c17e9268899a2892a9e58c1207ff58972f1e
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1457001
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: fix build issues with linux-4.9 kernel</title>
<updated>2016-12-21T07:05:51+00:00</updated>
<author>
<name>Sri Krishna chowdary</name>
<email>schowdary@nvidia.com</email>
</author>
<published>2016-12-06T13:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=aa6b231976e037bafd0c58423a4698f4cea25bbb'/>
<id>aa6b231976e037bafd0c58423a4698f4cea25bbb</id>
<content type='text'>
Fix build issues related to dma attrs, get_user_pages, cache flush
operations and dmabuf API.

bug 200255134

Change-Id: Ibd33fa83d7cd1850b6a40a74a1a90de1fb0db669
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1270295
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix build issues related to dma attrs, get_user_pages, cache flush
operations and dmabuf API.

bug 200255134

Change-Id: Ibd33fa83d7cd1850b6a40a74a1a90de1fb0db669
Signed-off-by: Sri Krishna chowdary &lt;schowdary@nvidia.com&gt;
Reviewed-on: http://git-master/r/1270295
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: nvmap: update tegra hvc header path</title>
<updated>2016-12-20T01:14:57+00:00</updated>
<author>
<name>Dennis Kou</name>
<email>dkou@nvidia.com</email>
</author>
<published>2016-12-09T01:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c53d6434501e2f75b7c5cde7b7525449a1913b52'/>
<id>c53d6434501e2f75b7c5cde7b7525449a1913b52</id>
<content type='text'>
Switch the tegra hvc header file to point at its new location.
The file at the previous location will be removed afterwards.

JIRA VFND-2999

Change-Id: I902d6934ea265046711af4ba6563ccb12b95d30b
Signed-off-by: Dennis Kou &lt;dkou@nvidia.com&gt;
Reviewed-on: http://git-master/r/1268023
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aingara Paramakuru &lt;aparamakuru@nvidia.com&gt;
Reviewed-by: Bahadir Balban &lt;bbalban@nvidia.com&gt;
Reviewed-by: Ambika Prasad &lt;ambikap@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch the tegra hvc header file to point at its new location.
The file at the previous location will be removed afterwards.

JIRA VFND-2999

Change-Id: I902d6934ea265046711af4ba6563ccb12b95d30b
Signed-off-by: Dennis Kou &lt;dkou@nvidia.com&gt;
Reviewed-on: http://git-master/r/1268023
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aingara Paramakuru &lt;aparamakuru@nvidia.com&gt;
Reviewed-by: Bahadir Balban &lt;bbalban@nvidia.com&gt;
Reviewed-by: Ambika Prasad &lt;ambikap@nvidia.com&gt;
Reviewed-by: Krishna Reddy &lt;vdumpa@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
