<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/lima, branch v5.8</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-07-20T00:46:06Z</updated>
<entry>
<title>drm/lima: fix wait pp reset timeout</title>
<updated>2020-07-20T00:46:06Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-07-19T07:30:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f3f90c6db188d437add55aaffadd5ad5bcb8cda6'/>
<id>urn:sha1:f3f90c6db188d437add55aaffadd5ad5bcb8cda6</id>
<content type='text'>
PP bcast is marked as doing async reset after job is done.
When resume after suspend, each PP is reset individually,
so no need to reset in PP bcast resume. But I forgot to
clear the PP bcast async reset mark so call into async wait
before job run and gets timeout.

Closes: https://gitlab.freedesktop.org/lima/linux/-/issues/34
Fixes: 3446d7e9883d ("drm/lima: add resume/suspend callback for each ip")
Reviewed-by: Erico Nunes &lt;nunes.erico@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200719073050.776962-1-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: enable runtime pm</title>
<updated>2020-04-24T12:51:24Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=50de2e9ebbc08e1ca27f9b3f0471d92abaaf834a'/>
<id>urn:sha1:50de2e9ebbc08e1ca27f9b3f0471d92abaaf834a</id>
<content type='text'>
Enable runtime pm by default so GPU suspend when idle
for 200ms. This value can be changed by
autosuspend_delay_ms in device's power sysfs dir.

On Allwinner H3 lima_device_resume takes ~40us and
lima_device_suspend takes ~20us.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-11-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: add pm resume/suspend ops</title>
<updated>2020-04-24T12:51:19Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=63945d51490f16aede6d635e785faf56521e5e4a'/>
<id>urn:sha1:63945d51490f16aede6d635e785faf56521e5e4a</id>
<content type='text'>
Add driver pm system and runtime hardware resume/suspend ops.
Note this won't enable runtime pm of the device yet.

v2:
Do clock and power gating when suspend/resume.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-10-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: separate clk/regulator enable/disable function</title>
<updated>2020-04-24T12:51:15Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7a475eb470ac482306c9281b2faadf2cbfb6b84c'/>
<id>urn:sha1:7a475eb470ac482306c9281b2faadf2cbfb6b84c</id>
<content type='text'>
For being used by both device init/fini and suspend/resume.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-9-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: add resume/suspend callback for each ip</title>
<updated>2020-04-24T12:51:10Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3446d7e9883d70882568b0f7b6549835d51a8bc7'/>
<id>urn:sha1:3446d7e9883d70882568b0f7b6549835d51a8bc7</id>
<content type='text'>
For called when PM do resume/suspend.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-8-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: power down ip blocks when pmu exit</title>
<updated>2020-04-24T12:51:04Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f5072a191a141dcc919125986ea22bf05d598a7'/>
<id>urn:sha1:9f5072a191a141dcc919125986ea22bf05d598a7</id>
<content type='text'>
Prepare resume/suspend PM.

v2:
Fix lima_pmu_wait_cmd timeout when mali400 case.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-7-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: add lima_devfreq_resume/suspend</title>
<updated>2020-04-24T12:50:57Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4836cf044d74eb70bb28d3460d8c82e4aaf56d65'/>
<id>urn:sha1:4836cf044d74eb70bb28d3460d8c82e4aaf56d65</id>
<content type='text'>
Used for device resume/suspend in the following commits.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-6-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: always set page directory when switch vm</title>
<updated>2020-04-24T12:50:51Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4eb70cd3f284e200c9e526bdd60ed720d5ab9e5c'/>
<id>urn:sha1:4eb70cd3f284e200c9e526bdd60ed720d5ab9e5c</id>
<content type='text'>
We need to flush TLB anyway before every task start, and the
page directory will be set to empty vm after suspend/resume,
so always set it to the task vm even no ctx switch happens.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-5-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: check vm != NULL in lima_vm_put</title>
<updated>2020-04-24T12:50:46Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24943269e51bb6fd2810e71597b675878369e06b'/>
<id>urn:sha1:24943269e51bb6fd2810e71597b675878369e06b</id>
<content type='text'>
No need to handle this check before calling lima_vm_put.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-4-yuq825@gmail.com
</content>
</entry>
<entry>
<title>drm/lima: print process name and pid when task error</title>
<updated>2020-04-24T12:50:40Z</updated>
<author>
<name>Qiang Yu</name>
<email>yuq825@gmail.com</email>
</author>
<published>2020-04-21T13:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d04f2a8e5b190c277663865311ecd6a393abf3b9'/>
<id>urn:sha1:d04f2a8e5b190c277663865311ecd6a393abf3b9</id>
<content type='text'>
When error task list is full, print the process info where
the error task come from for debug usage.

Tested-by: Bhushan Shah &lt;bshah@kde.org&gt;
Reviewed-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Qiang Yu &lt;yuq825@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-3-yuq825@gmail.com
</content>
</entry>
</feed>
