<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/display/dc/dc_stream.h, branch linux-5.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-08-06T17:08:09Z</updated>
<entry>
<title>drm/amd/display: Expose audio inst from DC to DM</title>
<updated>2019-08-06T17:08:09Z</updated>
<author>
<name>Nicholas Kazlauskas</name>
</author>
<published>2019-06-28T17:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a4d7f5e2bdf1050a365a1e1814af3a46d5015a8'/>
<id>urn:sha1:3a4d7f5e2bdf1050a365a1e1814af3a46d5015a8</id>
<content type='text'>
[ Upstream commit 5fdb7c4c7f2691efd760b0b0dc00da4a3699f1a6 ]

[Why]
In order to give pin notifications to the sound driver from DM we need
to know whether audio is enabled on a stream and what pin it's using
from DC.

[How]
Expose the instance via stream status if it's a mapped resource for
the stream. It will be -1 if there's no audio mapped.

Cc: Leo Li &lt;sunpeng.li@amd.com&gt;
Cc: Harry Wentland &lt;harry.wentland@amd.com&gt;
Signed-off-by: Nicholas Kazlauskas &lt;nicholas.kazlauskas@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add function to copy DC streams</title>
<updated>2019-04-23T22:27:45Z</updated>
<author>
<name>Wenjing Liu</name>
</author>
<published>2019-03-29T22:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43e3ac8389ef68ab2347eb1ae4a6e5b49793614e'/>
<id>urn:sha1:43e3ac8389ef68ab2347eb1ae4a6e5b49793614e</id>
<content type='text'>
We'll need the ability to copy a dc_stream_state for some features.
Implement it here.

Signed-off-by: Wenjing Liu &lt;Wenjing.Liu@amd.com&gt;
Reviewed-by: Jun Lei &lt;Jun.Lei@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Expose generic SDP message access interface</title>
<updated>2019-03-21T04:39:49Z</updated>
<author>
<name>Leo (Hanghong) Ma</name>
</author>
<published>2019-03-07T20:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5f90f3a0ab3d8a458c3152e6b56a5845d3f7b3f'/>
<id>urn:sha1:d5f90f3a0ab3d8a458c3152e6b56a5845d3f7b3f</id>
<content type='text'>
[Why]
We need to add DP SDP message test debugfs to make sdp message test
more convenient and efficient.

[How]
Add a DM accessible SDP interface for custom data.

Signed-off-by: Leo (Hanghong) Ma &lt;hanghong.ma@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Reviewed-by: Roman Li &lt;Roman.Li@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Refactor for setup periodic interrupt.</title>
<updated>2019-02-19T20:58:27Z</updated>
<author>
<name>Yongqiang Sun</name>
</author>
<published>2019-01-25T19:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6001aed266391e05517ff03078c144d4b279d5d'/>
<id>urn:sha1:d6001aed266391e05517ff03078c144d4b279d5d</id>
<content type='text'>
[Why]
Current periodic interrupt start point calc in optc
is not clear.

[How]
1. DM convert delta time to lines number and dc will calculate the
   start position as per lines number and interrupt type.
2. hwss calculates the start point as per line offset.
3. optc programs vertical interrupts register as per start point
   and interrupt source.

Signed-off-by: Yongqiang Sun &lt;yongqiang.sun@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: add seamless boot flag to stream</title>
<updated>2019-02-06T18:31:07Z</updated>
<author>
<name>Anthony Koo</name>
</author>
<published>2019-01-20T06:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2d7885f75b614a982a73383956570d95d79c23e'/>
<id>urn:sha1:d2d7885f75b614a982a73383956570d95d79c23e</id>
<content type='text'>
[Why]
If we determine the stream we are trying to commit
matches HW, we want to try to optimize.

[How]
Try to acquire the HW resources that are already enabled
and optimize.
Also skip backend reprogramming

Signed-off-by: Anthony Koo &lt;Anthony.Koo@amd.com&gt;
Reviewed-by: Aric Cyr &lt;Aric.Cyr@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Calc vline position in dc.</title>
<updated>2019-02-06T18:29:56Z</updated>
<author>
<name>Yongqiang Sun</name>
</author>
<published>2019-01-24T20:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=810ece19ee74c5705190ef18ccb292e7930a2377'/>
<id>urn:sha1:810ece19ee74c5705190ef18ccb292e7930a2377</id>
<content type='text'>
We need to calcualte vline position in DC for DCN.

Signed-off-by: Yongqiang Sun &lt;yongqiang.sun@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: store timing sync info in dc_stream_status</title>
<updated>2019-02-06T02:16:23Z</updated>
<author>
<name>Su Sung Chung</name>
</author>
<published>2019-01-21T17:01:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dac4e7d89ea3b09695c0948d375a62df9443ca0'/>
<id>urn:sha1:8dac4e7d89ea3b09695c0948d375a62df9443ca0</id>
<content type='text'>
in program_timing_sync, after all the pipes are
grouped, store timing sync info in dc_stream_status

Signed-off-by: Su Sung Chung &lt;Su.Chung@amd.com&gt;
Reviewed-by: Tony Cheng &lt;Tony.Cheng@amd.com&gt;
Acked-by: Bhawanpreet Lakha &lt;Bhawanpreet.Lakha@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add Vline1 interrupt source to InterruptManager</title>
<updated>2019-01-28T16:44:10Z</updated>
<author>
<name>Fatemeh Darbehani</name>
</author>
<published>2019-01-11T16:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fde60b7f350045614aecbc433eda830b5413b6d'/>
<id>urn:sha1:8fde60b7f350045614aecbc433eda830b5413b6d</id>
<content type='text'>
[Why]
Enhanced sync need to use vertical_interrupt1.

[How]
Add vertical_interrupt1 source to irq manger,
Implment setup vline interrupt interface.

Signed-off-by: Fatemeh Darbehani &lt;fatemeh.darbehani@amd.com&gt;
Reviewed-by: Jun Lei &lt;Jun.Lei@amd.com&gt;
Acked-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Remove unused parameter plane_states</title>
<updated>2019-01-14T20:04:43Z</updated>
<author>
<name>David Francis</name>
</author>
<published>2018-12-10T15:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cfdb60f7673907c718a2c434f7ee6ecfe14d85b7'/>
<id>urn:sha1:cfdb60f7673907c718a2c434f7ee6ecfe14d85b7</id>
<content type='text'>
[Why]
The function dc_commit_updates_for_stream had a parameter called
plane_states.  It was never used.  It was getting in the way
of some cleanup work

[How]
Remove it

Signed-off-by: David Francis &lt;David.Francis@amd.com&gt;
Reviewed-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Fix driver load crash in amdgpu_dm</title>
<updated>2019-01-14T20:04:40Z</updated>
<author>
<name>Leo Li</name>
</author>
<published>2018-11-27T20:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09f609c34fc8b9cb560947ab11609259f5d42889'/>
<id>urn:sha1:09f609c34fc8b9cb560947ab11609259f5d42889</id>
<content type='text'>
[Why]
This fixes an regression introduced by:
    drm/amd/display: add stream ID and otg instance in dc_stream_state

During driver initialization, a null pointer deref is raised. This is
caused by searching for a stream status in the dc-&gt;current_state before
the dc_state swap happens at the end of dc_commit_state_no_check().
Since the swap has not happened, the dc_state to be swapped in should
be searched, and not dc-&gt;current_state.

[How]
Add a function that searches for the stream status within the given
dc_state, instead of dc-&gt;current_state. Use that before the state swap
happens in dc_commit_state_no_check().

Also remove duplicate occurrences of this function in amdgpu_dm.c.

Signed-off-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Reviewed-by: Harry Wentland &lt;Harry.Wentland@amd.com&gt;
Acked-by: Nicholas Kazlauskas &lt;Nicholas.Kazlauskas@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
