<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/display/dc/dce, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-09-08T05:56:39Z</updated>
<entry>
<title>drm/amd/display: Avoid overflow from uint32_t to uint8_t</title>
<updated>2024-09-08T05:56:39Z</updated>
<author>
<name>Alex Hung</name>
</author>
<published>2024-05-31T17:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30d1b783b6eeaf49d311a072c70d618d993d01ec'/>
<id>urn:sha1:30d1b783b6eeaf49d311a072c70d618d993d01ec</id>
<content type='text'>
[ Upstream commit d6b54900c564e35989cf6813e4071504fa0a90e0 ]

[WHAT &amp; HOW]
dmub_rb_cmd's ramping_boundary has size of uint8_t and it is assigned
0xFFFF. Fix it by changing it to uint8_t with value of 0xFF.

This fixes 2 INTEGER_OVERFLOW issues reported by Coverity.

Reviewed-by: Rodrigo Siqueira &lt;rodrigo.siqueira@amd.com&gt;
Acked-by: Zaeem Mohamed &lt;zaeem.mohamed@amd.com&gt;
Signed-off-by: Alex Hung &lt;alex.hung@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@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: Don't use fsleep for PSR exit waits on dmub replay</title>
<updated>2024-09-08T05:56:38Z</updated>
<author>
<name>Nicholas Kazlauskas</name>
</author>
<published>2023-09-27T19:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80a984854ff0c9b03e31e1db3b338f30debb6880'/>
<id>urn:sha1:80a984854ff0c9b03e31e1db3b338f30debb6880</id>
<content type='text'>
[ Upstream commit b5236da757adc75d7e52c69bdc233d29249a0d0c ]

[Why]
These functions can be called from high IRQ levels and the OS will hang
if it tries to use a usleep_highres or a msleep.

[How]
Replace the flseep with a udelay for dmub_replay_enable.

Reviewed-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Nicholas Kazlauskas &lt;nicholas.kazlauskas@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@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: Replace dm_execute_dmub_cmd with dc_wake_and_execute_dmub_cmd</title>
<updated>2024-08-14T13:34:23Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2023-12-04T21:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e99ea46e180f01ca54ee7d6a4c51580633cda8b'/>
<id>urn:sha1:1e99ea46e180f01ca54ee7d6a4c51580633cda8b</id>
<content type='text'>
[ Upstream commit f2aaed194a54d78c307c44d1829c7e1ba67e9ba5 ]

In the commit c2cec7a872b6 ("drm/amd/display: Wake DMCUB before sending
a command for replay feature"), replaced dm_execute_dmub_cmd with
dc_wake_and_execute_dmub_cmd in multiple areas, but due to merge issues
the replacement of this function in the dmub_replay_copy_settings was
missed. This commit replaces the old dm_execute_dmub_cmd with
dc_wake_and_execute_dmub_cmd.

Fixes: 3601a35a2e9d ("drm/amd/display: Wake DMCUB before sending a command for replay feature")
Reviewed-by: Aurabindo Pillai &lt;aurabindo.pillai@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@amd.com&gt;
Signed-off-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit 6cc213b9aa34bc3213e20f9256345c5cc1495b0b)
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Wake DMCUB before sending a command for replay feature</title>
<updated>2024-08-14T13:34:14Z</updated>
<author>
<name>Nicholas Kazlauskas</name>
</author>
<published>2023-12-04T21:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37834c8cacd78ed641c400b9f8de885ac20ee51f'/>
<id>urn:sha1:37834c8cacd78ed641c400b9f8de885ac20ee51f</id>
<content type='text'>
[ Upstream commit 3601a35a2e9d640233f4bc3496f7603b93f9c143 ]

[Why]
We can hang in place trying to send commands when the DMCUB isn't
powered on.

[How]
For functions that execute within a DC context or DC lock we can wrap
the direct calls to dm_execute_dmub_cmd/list with code that exits idle
power optimizations and reallows once we're done with the command
submission on success.

For DM direct submissions the DM will need to manage the enter/exit
sequencing manually.

We cannot invoke a DMCUB command directly within the DM execution helper
or we can deadlock.

Reviewed-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Nicholas Kazlauskas &lt;nicholas.kazlauskas@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@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: Remove unnecessary code</title>
<updated>2024-04-17T01:51:54Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-04-03T17:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3854887b35e031c532dadc12cdd9e4b469304b5b'/>
<id>urn:sha1:3854887b35e031c532dadc12cdd9e4b469304b5b</id>
<content type='text'>
This commit groups many parts of the code that are redundant or not used
and drops all of them.

Reviewed-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Adjust headers</title>
<updated>2024-04-17T01:26:46Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-04-02T22:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9312f9d7308a247cab8a00685c17193d940e25e9'/>
<id>urn:sha1:9312f9d7308a247cab8a00685c17193d940e25e9</id>
<content type='text'>
Update headers by removing two unecessary headers and include a new one.

Reviewed-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Signed-off-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Tested-by: Daniel Wheeler &lt;daniel.wheeler@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Adjust dprefclk by down spread percentage.</title>
<updated>2024-04-10T02:16:45Z</updated>
<author>
<name>Zhongwei</name>
</author>
<published>2024-03-27T05:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=364b1c1de6de36c1b28690265c904c682aecc266'/>
<id>urn:sha1:364b1c1de6de36c1b28690265c904c682aecc266</id>
<content type='text'>
[Why]
OLED panels show no display for large vtotal timings.

[How]
Check if ss is enabled and read from lut for spread spectrum percentage.
Adjust dprefclk as required. DP_DTO adjustment is for edp only.

Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas &lt;nicholas.kazlauskas@amd.com&gt;
Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@amd.com&gt;
Signed-off-by: Zhongwei &lt;zhongwei.zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Includes adjustments</title>
<updated>2024-04-10T02:07:09Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-22T23:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d63d82d730c8f5ddca7ae9135675162bfe1cdc5'/>
<id>urn:sha1:7d63d82d730c8f5ddca7ae9135675162bfe1cdc5</id>
<content type='text'>
This commit clean up some of the includes used by DCN.

Signed-off-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Acked-by: Roman Li &lt;roman.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add missing SFB and OPP_SF</title>
<updated>2024-04-10T02:06:34Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-22T22:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab0d29d9328930e443d7be3a5ee3a40270f64ea5'/>
<id>urn:sha1:ab0d29d9328930e443d7be3a5ee3a40270f64ea5</id>
<content type='text'>
Signed-off-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Acked-by: Roman Li &lt;roman.li@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Fix compiler warnings on high compiler warning levels</title>
<updated>2024-04-10T02:05:04Z</updated>
<author>
<name>Aric Cyr</name>
</author>
<published>2024-03-12T18:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aece2094e34e602f37403dda028f464bb41da50c'/>
<id>urn:sha1:aece2094e34e602f37403dda028f464bb41da50c</id>
<content type='text'>
[why]
Enabling higher compiler warning levels results in many issues that can
be trivially resolved as well as some potentially critical issues.

[how]
Fix all compiler warnings found with various compilers and higher
warning levels.  Primarily, potentially uninitialized variables and
unreachable code.

Reviewed-by: Leo Li &lt;sunpeng.li@amd.com&gt;
Acked-by: Roman Li &lt;roman.li@amd.com&gt;
Signed-off-by: Aric Cyr &lt;aric.cyr@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
