<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/nvhost.h, branch T20_LinuxImageV2.0_20130305</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>video: tegra: host: Disable irq when clock gating</title>
<updated>2012-08-29T14:23:54+00:00</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2012-08-22T06:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=63644abd0d4ed41c5f6894e273a41968ea09694e'/>
<id>63644abd0d4ed41c5f6894e273a41968ea09694e</id>
<content type='text'>
Disable host1x interrupts when clock gating host1x. This fixes a race
where host1x interrupt was raised at the same time when host1x clock
is turned off.

Bug 1031724

Change-Id: I169cd5796608b8888a6b48ed99bb5da754559b2c
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/125129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable host1x interrupts when clock gating host1x. This fixes a race
where host1x interrupt was raised at the same time when host1x clock
is turned off.

Bug 1031724

Change-Id: I169cd5796608b8888a6b48ed99bb5da754559b2c
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/125129
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: adding throughput hint in 3dfs</title>
<updated>2012-07-30T16:39:41+00:00</updated>
<author>
<name>Ilan Aelion</name>
<email>iaelion@nvidia.com</email>
</author>
<published>2012-07-16T23:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=859f9bddcb10fd1fe2890a59181f8388facd1117'/>
<id>859f9bddcb10fd1fe2890a59181f8388facd1117</id>
<content type='text'>
adding support for using a throughput hint given by the tegra-gfx misc
device in the 3d scaling code. If throughput hint usage is enabled and
the latest throughput hint is recent enough (less than 1 second old),
the throughput hint is used to control 3d frequency scaling. Otherwise
the existing idle time percentage estimate is used.

Bug 991589

Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027
Signed-off-by: Ilan Aelion &lt;iaelion@nvidia.com&gt;
Reviewed-on: http://git-master/r/116866
Reviewed-by: Lokesh Pathak &lt;lpathak@nvidia.com&gt;
Tested-by: Lokesh Pathak &lt;lpathak@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
adding support for using a throughput hint given by the tegra-gfx misc
device in the 3d scaling code. If throughput hint usage is enabled and
the latest throughput hint is recent enough (less than 1 second old),
the throughput hint is used to control 3d frequency scaling. Otherwise
the existing idle time percentage estimate is used.

Bug 991589

Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027
Signed-off-by: Ilan Aelion &lt;iaelion@nvidia.com&gt;
Reviewed-on: http://git-master/r/116866
Reviewed-by: Lokesh Pathak &lt;lpathak@nvidia.com&gt;
Tested-by: Lokesh Pathak &lt;lpathak@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: Serialize 2D jobs</title>
<updated>2012-07-01T15:59:42+00:00</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2012-06-27T06:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8484091b29b9f4a7f0e305fa4e1085a66753393e'/>
<id>8484091b29b9f4a7f0e305fa4e1085a66753393e</id>
<content type='text'>
Force serialization of 2D jobs by inserting a host wait for previous
maximum at the beginning of the job.

Bug 1002293

Change-Id: I667ad4565cc32186ea7ccf16845c68d1b1bbdf78
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/111475
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Donghan Ryu &lt;dryu@nvidia.com&gt;
Reviewed-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Reviewed-by: Daniel Parker &lt;dparker@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Francis Hart &lt;fhart@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Force serialization of 2D jobs by inserting a host wait for previous
maximum at the beginning of the job.

Bug 1002293

Change-Id: I667ad4565cc32186ea7ccf16845c68d1b1bbdf78
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/111475
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Donghan Ryu &lt;dryu@nvidia.com&gt;
Reviewed-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
Reviewed-by: Daniel Parker &lt;dparker@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Francis Hart &lt;fhart@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: add public APIs for power &amp; syncpoint management</title>
<updated>2012-06-25T23:23:31+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2012-06-18T07:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b8c4bf16077a04daf2c895be7cf8da030e45b60e'/>
<id>b8c4bf16077a04daf2c895be7cf8da030e45b60e</id>
<content type='text'>
- add public APIs for power &amp; sync-point management
- all these APIs end with string _ext
- all these APIs can be found in linux/nvhost.h
- all these APIs take nvhost_device as first argument
- all these APIs are based on the fact that host1x hardware
driver is parent of all the host1x client driver
- this allows clients of host1x which are outside host1x
driver code to just include nvhost.h &amp; use host1x driver
interfaces
- this also hides the implementation details of power &amp;
sync-point inside host1x driver code
- move sync point ids for dc and nvavp to nvhost.h

Bug 961009

Change-Id: I1a9ca074df87656c4d4bd246853e039a7850d56a
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/109219
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- add public APIs for power &amp; sync-point management
- all these APIs end with string _ext
- all these APIs can be found in linux/nvhost.h
- all these APIs take nvhost_device as first argument
- all these APIs are based on the fact that host1x hardware
driver is parent of all the host1x client driver
- this allows clients of host1x which are outside host1x
driver code to just include nvhost.h &amp; use host1x driver
interfaces
- this also hides the implementation details of power &amp;
sync-point inside host1x driver code
- move sync point ids for dc and nvavp to nvhost.h

Bug 961009

Change-Id: I1a9ca074df87656c4d4bd246853e039a7850d56a
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/109219
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: expose power management paramters via sysfs</title>
<updated>2012-06-19T01:44:11+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2012-06-12T12:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6cc2ba059bc9760f185834e67d9456af36bf5a9f'/>
<id>6cc2ba059bc9760f185834e67d9456af36bf5a9f</id>
<content type='text'>
this commit exposes following power management parameter through
sysfs:
- clockgate_delay: delay after which module is clock gated after
it goes idle. this read/write attribute &amp; unit is ms.
- powergate_delay: delay after which module is power gated after
it is clock gated. this is read/write attribute &amp; unit is ms.
- refcount: current reference count on the module. this is
read-only attribute.

path is: /sys/devices/host1x/&lt;device-name&gt;/acm/ where
&lt;device-name&gt; = name of device node like gr2d or gr3d etc

Bug 845598

Change-Id: I6011eb90ee85b5fc576320272e657ce31f9e264d
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/108827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Francis Hart &lt;fhart@nvidia.com&gt;
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this commit exposes following power management parameter through
sysfs:
- clockgate_delay: delay after which module is clock gated after
it goes idle. this read/write attribute &amp; unit is ms.
- powergate_delay: delay after which module is power gated after
it is clock gated. this is read/write attribute &amp; unit is ms.
- refcount: current reference count on the module. this is
read-only attribute.

path is: /sys/devices/host1x/&lt;device-name&gt;/acm/ where
&lt;device-name&gt; = name of device node like gr2d or gr3d etc

Bug 845598

Change-Id: I6011eb90ee85b5fc576320272e657ce31f9e264d
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/108827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Francis Hart &lt;fhart@nvidia.com&gt;
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: Remove version from dev name</title>
<updated>2012-06-14T23:46:27+00:00</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2012-06-13T08:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c986dcfd3bfae55fbab9d27c2be57464011f7b28'/>
<id>c986dcfd3bfae55fbab9d27c2be57464011f7b28</id>
<content type='text'>
Remove version from nvhost_device name, and use a new field,
version, to distinguish between IP versions. This restores the
sysfs API for 3D clock scaling back to its original path.

Change-Id: I444ef728b7cab9e5ea3a08f3c7be0f1661209686
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/108501
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove version from nvhost_device name, and use a new field,
version, to distinguish between IP versions. This restores the
sysfs API for 3D clock scaling back to its original path.

Change-Id: I444ef728b7cab9e5ea3a08f3c7be0f1661209686
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/108501
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: Register devices in SoC files</title>
<updated>2012-06-14T23:29:46+00:00</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2012-05-22T12:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9774bbe31a0741ad71929156f59afdb2aba4eae5'/>
<id>9774bbe31a0741ad71929156f59afdb2aba4eae5</id>
<content type='text'>
Move the device structures to the driver source code files. Register
all nvhost_device's in one loop which is called from board file.

host1x driver code is moved to live under host1x, too. This causes
a need to add host to include path of tegradc and nvavp.

Bug 982965

Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/104076
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the device structures to the driver source code files. Register
all nvhost_device's in one loop which is called from board file.

host1x driver code is moved to live under host1x, too. This causes
a need to add host to include path of tegradc and nvavp.

Bug 982965

Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/104076
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: move function pointers to nvhost_driver</title>
<updated>2012-05-23T09:18:46+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2012-05-16T08:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5c9ca407ae6056150948b6c3fc5a166af2a3036f'/>
<id>5c9ca407ae6056150948b6c3fc5a166af2a3036f</id>
<content type='text'>
- currently, function pointers are inside nvhost_device
- these functions abstract the device specific implementation
of a functionality per SoC
- move them to nvhost_driver so that nvhost_device can be
instantiated from arch code using board files/device trees
- add support to use single driver for multiple devices using
concept of id_table. this will be useful in supporting
multiple SoC devices binding single driver
- also add some notes about how device name is expected

Bug 871237

Change-Id: I4c75d7121d26c3bdc50f058e0d144d89ca0edbd9
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/100985
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- currently, function pointers are inside nvhost_device
- these functions abstract the device specific implementation
of a functionality per SoC
- move them to nvhost_driver so that nvhost_device can be
instantiated from arch code using board files/device trees
- add support to use single driver for multiple devices using
concept of id_table. this will be useful in supporting
multiple SoC devices binding single driver
- also add some notes about how device name is expected

Bug 871237

Change-Id: I4c75d7121d26c3bdc50f058e0d144d89ca0edbd9
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/100985
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: Reset 3D after power on</title>
<updated>2012-04-26T21:33:39+00:00</updated>
<author>
<name>Terje Bergstrom</name>
<email>tbergstrom@nvidia.com</email>
</author>
<published>2012-03-05T07:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bc888e85389ee98c69e844b9cc14088539f7528b'/>
<id>bc888e85389ee98c69e844b9cc14088539f7528b</id>
<content type='text'>
Sometimes 3D unit comes up with incorrect scissor configuration.
Earlier patch added the scissor registers to the context save list,
but that did not solve the problem. Remove the extra registers, and
reset 3D after powering it up.

Bug 939307

Change-Id: Id795f2d99ec3c6b907da2785b1816ce753af7a3f
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/87654
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Graziano Misuraca &lt;gmisuraca@nvidia.com&gt;
Tested-by: Graziano Misuraca &lt;gmisuraca@nvidia.com&gt;
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes 3D unit comes up with incorrect scissor configuration.
Earlier patch added the scissor registers to the context save list,
but that did not solve the problem. Remove the extra registers, and
reset 3D after powering it up.

Bug 939307

Change-Id: Id795f2d99ec3c6b907da2785b1816ce753af7a3f
Signed-off-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Reviewed-on: http://git-master/r/87654
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Graziano Misuraca &lt;gmisuraca@nvidia.com&gt;
Tested-by: Graziano Misuraca &lt;gmisuraca@nvidia.com&gt;
Reviewed-by: Juha Tukkinen &lt;jtukkinen@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: host: refactor for upstreaming</title>
<updated>2012-03-21T15:44:15+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2012-02-13T15:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a0f946efbef9caa197ad2048d45722f65618d6c3'/>
<id>a0f946efbef9caa197ad2048d45722f65618d6c3</id>
<content type='text'>
- split the nvhost clients into their own directories
- each client is a nvhost_device and nvhost_driver
- all the code related to host1x control node is centralized
at single place in dev.c
- all the code related to host1x modules nodes is centralized
at single place in bus_client.c
- update the copyright notice &amp; year for new files

Bug 871237

Change-Id: Ief85064699e35ad02b48a7e54496928d7f085af4
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/83491
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- split the nvhost clients into their own directories
- each client is a nvhost_device and nvhost_driver
- all the code related to host1x control node is centralized
at single place in dev.c
- all the code related to host1x modules nodes is centralized
at single place in bus_client.c
- update the copyright notice &amp; year for new files

Bug 871237

Change-Id: Ief85064699e35ad02b48a7e54496928d7f085af4
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-on: http://git-master/r/83491
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
