<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/dma, 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>drivers: dma: do not give up if pause failed</title>
<updated>2019-03-11T18:00:36+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2019-01-24T08:44:58+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0df5f8950a96890b873767096c7bd98b36d503e3'/>
<id>0df5f8950a96890b873767096c7bd98b36d503e3</id>
<content type='text'>
There could be a condition when hw pausing of DMA channel fails
In this case, we should continue with regular way of terminating

Bug 2491575
Bug 2448518

Change-Id: I5cc7d1ff8a78ffdd7976e96ed644d71d7c7bdf0d
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2002710
(cherry picked from commit aed8261b985741d3d823cf36271c9bde43e4f073)
Reviewed-on: https://git-master.nvidia.com/r/2035709
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@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>
There could be a condition when hw pausing of DMA channel fails
In this case, we should continue with regular way of terminating

Bug 2491575
Bug 2448518

Change-Id: I5cc7d1ff8a78ffdd7976e96ed644d71d7c7bdf0d
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2002710
(cherry picked from commit aed8261b985741d3d823cf36271c9bde43e4f073)
Reviewed-on: https://git-master.nvidia.com/r/2035709
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Jain (SW-TEGRA) &lt;rahuljain@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>dma: t186: fix unbalanced spinlock / unlock on err</title>
<updated>2018-09-07T07:36:06+00:00</updated>
<author>
<name>Alex Van Brunt</name>
<email>avanbrunt@nvidia.com</email>
</author>
<published>2018-09-06T15:07:45+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=adfa134be6ecabf93d923bfaef1a5617133a5236'/>
<id>adfa134be6ecabf93d923bfaef1a5617133a5236</id>
<content type='text'>
tegra_dma_terminate_all() was not unlocking the spinlock in the case that
it returned an error. That could leave the lock permanently locked.

Fix it by adding an unlock before returning the error.

bug 200434802

Change-Id: If92be9f36c1ca7b24566e26a439081559fe2f284
Signed-off-by: Alex Van Brunt &lt;avanbrunt@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1814188
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>
tegra_dma_terminate_all() was not unlocking the spinlock in the case that
it returned an error. That could leave the lock permanently locked.

Fix it by adding an unlock before returning the error.

bug 200434802

Change-Id: If92be9f36c1ca7b24566e26a439081559fe2f284
Signed-off-by: Alex Van Brunt &lt;avanbrunt@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1814188
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>tegra: gpcdma: add support to know total transferred bytes</title>
<updated>2018-09-04T13:40:00+00:00</updated>
<author>
<name>kartik</name>
<email>kkartik@nvidia.com</email>
</author>
<published>2018-08-31T11:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=510ee67fc8114b16317fb010b62288192ed57a2b'/>
<id>510ee67fc8114b16317fb010b62288192ed57a2b</id>
<content type='text'>
Add support to know the total bytes transferred, which will be used
by client driver through dmaengine_tx_status() callback. This is
useful to know the transfer status when client is operating in
cyclic mode.

Bug 1874194
Bug 1997353

Change-Id: I44ca125da1460463c264a61badb24f9acabee099
Signed-off-by: Shardar Shariff Md &lt;smohammed@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1459932
Signed-off-by: kartik &lt;kkartik@nvidia.com&gt;
(cherry picked from k3.10 commit
48780918161fcdcd7177b3c755aff154c372bdb4)
Reviewed-on: https://git-master.nvidia.com/r/1811627
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;
Tested-by: Bitan Biswas &lt;bbiswas@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>
Add support to know the total bytes transferred, which will be used
by client driver through dmaengine_tx_status() callback. This is
useful to know the transfer status when client is operating in
cyclic mode.

Bug 1874194
Bug 1997353

Change-Id: I44ca125da1460463c264a61badb24f9acabee099
Signed-off-by: Shardar Shariff Md &lt;smohammed@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1459932
Signed-off-by: kartik &lt;kkartik@nvidia.com&gt;
(cherry picked from k3.10 commit
48780918161fcdcd7177b3c755aff154c372bdb4)
Reviewed-on: https://git-master.nvidia.com/r/1811627
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;
Tested-by: Bitan Biswas &lt;bbiswas@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>gpcdma: Add DMA pause/resume support</title>
<updated>2018-05-02T11:33:21+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2018-04-06T08:24: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=c4cdef87f128b653c4d6b88a5eda387d5e0bc1e2'/>
<id>c4cdef87f128b653c4d6b88a5eda387d5e0bc1e2</id>
<content type='text'>
Adding support for DMA pause/resume. If supported by
the controller, using pause during terminate all to
know the current transferred bytes.

After pausing a dma channel, wait for the channel busy bit
to be deasserted. Maximum wait time is 100usec. Clear dma
pause while configuring for next transfer.

Bug 200392124

Change-Id: Iea972bf6f89fc1ff558a21433dffebe2f2334099
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Signed-off-by: Pavan Kunapuli &lt;pkunapuli@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1689850
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Adding support for DMA pause/resume. If supported by
the controller, using pause during terminate all to
know the current transferred bytes.

After pausing a dma channel, wait for the channel busy bit
to be deasserted. Maximum wait time is 100usec. Clear dma
pause while configuring for next transfer.

Bug 200392124

Change-Id: Iea972bf6f89fc1ff558a21433dffebe2f2334099
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Signed-off-by: Pavan Kunapuli &lt;pkunapuli@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1689850
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>tegra: gpcdma: make suspend/resume late/early</title>
<updated>2018-01-23T14:29:21+00:00</updated>
<author>
<name>Shardar Shariff Md</name>
<email>smohammed@nvidia.com</email>
</author>
<published>2018-01-16T08:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=503df6e16e9ef417787ea184973ec9012c300463'/>
<id>503df6e16e9ef417787ea184973ec9012c300463</id>
<content type='text'>
Make suspend/resume calls as noirq late/early calls

Bug 200379752

Change-Id: I03da8198174ec37543456d3b5f4e057843281b40
Signed-off-by: Shardar Shariff Md &lt;smohammed@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1639679
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas &lt;bbiswas@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>
Make suspend/resume calls as noirq late/early calls

Bug 200379752

Change-Id: I03da8198174ec37543456d3b5f4e057843281b40
Signed-off-by: Shardar Shariff Md &lt;smohammed@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1639679
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas &lt;bbiswas@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>nvidia: use $(srctree.$(overlay))</title>
<updated>2017-11-09T11:27:16+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2017-11-06T21:53:42+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=629ade0daaa5b8a3c24dbeadc2a5fb046d4dbbf4'/>
<id>629ade0daaa5b8a3c24dbeadc2a5fb046d4dbbf4</id>
<content type='text'>
Update all Makefiles to make use of the new srctree.$(overlay) variables
to remove hard-coding the path to any overlays. One direct reference
remains in a hard-coded include statement in drivers/misc/tegra-cec/.

Bug 1978395

Change-Id: I5cdce04e019567a9bbfffaf0e92a61bd16806e99
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1593800
Reviewed-by: Alexander Van Brunt &lt;avanbrunt@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Tested-by: Timo Alho &lt;talho@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>
Update all Makefiles to make use of the new srctree.$(overlay) variables
to remove hard-coding the path to any overlays. One direct reference
remains in a hard-coded include statement in drivers/misc/tegra-cec/.

Bug 1978395

Change-Id: I5cdce04e019567a9bbfffaf0e92a61bd16806e99
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1593800
Reviewed-by: Alexander Van Brunt &lt;avanbrunt@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Tested-by: Timo Alho &lt;talho@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>nvidia: use kernel overlay features</title>
<updated>2017-10-29T18:00:42+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2017-09-14T16:51: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=20bb0324e532863cafc5dc41e8cd5a6ec28413d8'/>
<id>20bb0324e532863cafc5dc41e8cd5a6ec28413d8</id>
<content type='text'>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>dma: t186: Deprecate support of kernel version &lt;4.4</title>
<updated>2017-08-14T11:57:36+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2017-08-13T14:38:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=75284504c0f290d1fc1a4e43719be250ac966c6b'/>
<id>75284504c0f290d1fc1a4e43719be250ac966c6b</id>
<content type='text'>
As T186 supports are moved to the K4.4 and later version
of kernel, removing the code which supports the linux
kernel version &lt;4.4.

Change-Id: I24e2b6847ccb86d5a86a3117d5731de8c4285a36
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1537859
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>
As T186 supports are moved to the K4.4 and later version
of kernel, removing the code which supports the linux
kernel version &lt;4.4.

Change-Id: I24e2b6847ccb86d5a86a3117d5731de8c4285a36
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1537859
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>gpc-dma: fix coverity defect</title>
<updated>2017-08-14T08:00:37+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2017-08-11T07:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c77da8866fba32f257384aef76c8ce94d0c6d3a7'/>
<id>c77da8866fba32f257384aef76c8ce94d0c6d3a7</id>
<content type='text'>
Uninitialized variable might be unsed in case of missing
device tree node

Bug 1971602

Change-Id: Iceec970dddc96e9009acb0ee54aae8525863fbd3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1537277
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>
Uninitialized variable might be unsed in case of missing
device tree node

Bug 1971602

Change-Id: Iceec970dddc96e9009acb0ee54aae8525863fbd3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1537277
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>dma: t186: fix pre-allocate descriptors</title>
<updated>2017-08-14T07:59:48+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2017-08-09T11:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0ef8c1e1b9af93ba4e43f9882e02ba50a2d49fe0'/>
<id>0ef8c1e1b9af93ba4e43f9882e02ba50a2d49fe0</id>
<content type='text'>
If preallocating is enabled in the device tree, kernel would
panic on boot.

The reason is uninitialized fields; the patch is to initialize
them in (correct) order

Bug 1971602

Change-Id: I594ac77a6856a20cc2a087dd6dd1d198470200ab
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1535936
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>
If preallocating is enabled in the device tree, kernel would
panic on boot.

The reason is uninitialized fields; the patch is to initialize
them in (correct) order

Bug 1971602

Change-Id: I594ac77a6856a20cc2a087dd6dd1d198470200ab
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1535936
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
