<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/display/dc/optc, 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-08-03T07:00:35Z</updated>
<entry>
<title>drm/amd/display: fix corruption with high refresh rates on DCN 3.0</title>
<updated>2024-08-03T07:00:35Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2024-07-16T16:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5afbbe7a5535fd439d969c84014ec39b2c850d5d'/>
<id>urn:sha1:5afbbe7a5535fd439d969c84014ec39b2c850d5d</id>
<content type='text'>
commit e3615bd198289f319172c428f20857accb46b830 upstream.

This reverts commit bc87d666c05a13e6d4ae1ddce41fc43d2567b9a2 and the
register changes from commit 6d4279cb99ac4f51d10409501d29969f687ac8dc.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3412
Cc: mikhail.v.gavrilov@gmail.com
Cc: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Tested-by: Mikhail Gavrilov &lt;mikhail.v.gavrilov@gmail.com&gt;
Reviewed-by: Rodrigo Siqueira &lt;Rodrigo.Siqueira@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org # 6.10.x
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "drm/amd/display: Add fallback configuration when set DRR"</title>
<updated>2024-04-26T21:22:38Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-04-22T13:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab6a0edb7ded060e84dc1a24e3936c86c3d048b9'/>
<id>urn:sha1:ab6a0edb7ded060e84dc1a24e3936c86c3d048b9</id>
<content type='text'>
This reverts commit d76c0a23b557c6ebb3fac32548100d76a1e0ce23.

This change must be reverted since it caused soft hangs when changing
the refresh rate to 122 &amp; 144Hz when using a 7000 series GPU.

Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Harry Wentland &lt;harry.wentland@amd.com&gt;
Reported-by: Mark Broadworth &lt;Mark.Broadworth@amd.com&gt;
Cc: Daniel Wheeler &lt;daniel.wheeler@amd.com&gt;
Cc: Harry Wentland &lt;harry.wentland@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;
</content>
</entry>
<entry>
<title>drm/amd/display: Add fallback configuration for set DRR in DCN10</title>
<updated>2024-04-12T04:35:35Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-26T17:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc87d666c05a13e6d4ae1ddce41fc43d2567b9a2'/>
<id>urn:sha1:bc87d666c05a13e6d4ae1ddce41fc43d2567b9a2</id>
<content type='text'>
Set OTG/OPTC parameters to 0 if something goes wrong on DCN10.

Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@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;
</content>
</entry>
<entry>
<title>drm/amd/display: Add fallback configuration when set DRR</title>
<updated>2024-04-12T04:35:28Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-26T17:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d76c0a23b557c6ebb3fac32548100d76a1e0ce23'/>
<id>urn:sha1:d76c0a23b557c6ebb3fac32548100d76a1e0ce23</id>
<content type='text'>
Set OTG/OPTC parameter to 0 if failed to set DRR.

Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@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;
</content>
</entry>
<entry>
<title>drm/amd/display: Drop legacy code</title>
<updated>2024-04-12T04:34:49Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-26T16:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d4279cb99ac4f51d10409501d29969f687ac8dc'/>
<id>urn:sha1:6d4279cb99ac4f51d10409501d29969f687ac8dc</id>
<content type='text'>
This commit removes code that are not used by display anymore.

Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@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;
</content>
</entry>
<entry>
<title>drm/amd/display: Add V_TOTAL_REGS to dcn10</title>
<updated>2024-04-10T02:19:30Z</updated>
<author>
<name>Rodrigo Siqueira</name>
</author>
<published>2024-03-26T14:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08f7c681177b209a02740aa2c58d11fcf83d6e4d'/>
<id>urn:sha1:08f7c681177b209a02740aa2c58d11fcf83d6e4d</id>
<content type='text'>
DCN10 OPTC is used by other DCNs, and in some cases it might be useful
to have V_TOTAL_REGS available. This commit add V_TOTAL_REGS as part of
the TG field.

Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@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;
</content>
</entry>
<entry>
<title>drm/amd/display: Do not recursively call manual trigger programming</title>
<updated>2024-04-10T02:15:34Z</updated>
<author>
<name>Dillon Varone</name>
</author>
<published>2024-03-21T17:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24e9727b39caea8e9009d8f5bea582623182dda0'/>
<id>urn:sha1:24e9727b39caea8e9009d8f5bea582623182dda0</id>
<content type='text'>
[WHY&amp;HOW]
We should not be recursively calling the manual trigger programming function when
FAMS is not in use.

Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee &lt;alvin.lee2@amd.com&gt;
Acked-by: Hamza Mahfooz &lt;hamza.mahfooz@amd.com&gt;
Signed-off-by: Dillon Varone &lt;dillon.varone@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Add extra logging for HUBP and OTG</title>
<updated>2024-04-10T02:04:06Z</updated>
<author>
<name>Alvin Lee</name>
</author>
<published>2024-03-20T17:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb'/>
<id>urn:sha1:7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb</id>
<content type='text'>
[Description]
Add extra logging for DCSURF_FLIP_CNTL, DCHUBP_CNTL,
OTG_MASTER_EN, and OTG_DOUBLE_BUFFER_CONTROL for more
debuggability for a system crash.

Reviewed-by: Samson Tam &lt;samson.tam@amd.com&gt;
Acked-by: Roman Li &lt;roman.li@amd.com&gt;
Signed-off-by: Alvin Lee &lt;alvin.lee2@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/display: Support long vblank feature</title>
<updated>2024-03-20T17:37:37Z</updated>
<author>
<name>Robin Chen</name>
</author>
<published>2023-12-20T12:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eed4edda910fe34dfae8c6bfbcf57f4593a54295'/>
<id>urn:sha1:eed4edda910fe34dfae8c6bfbcf57f4593a54295</id>
<content type='text'>
[WHY]
We want to support low hz case, but the original
vtotal/vtotal_min/vtotal_max can't support more
than 0x7FFF.

[HOW]
We use the 2 HW reg to contorl long vblank case.
1. OTG_V_COUNT_STOP_CONTROL -&gt; vcount_stop
2. OTG_V_COUNT_STOP_CONTROL2 -&gt; vcount_stop_timer

vcount_stop define from which line we stop using vcount
and start using vcount2.
vcount_stop_timer define how long we use vcount2.

Ex:
Vtotal = 7
OTG_V_COUNT_STOP_CONTROL = 4
OTG_V_COUNT_STOP_CONTROL2 = 5

time    : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
vcount  : 0, 1, 2, 3, -  -  -  -  -  4,  5,  6
vcount2 :             0, 1, 2, 3, 4,

Reviewed-by: Jun Lei &lt;jun.lei@amd.com&gt;
Acked-by: Alex Hung &lt;alex.hung@amd.com&gt;
Signed-off-by: ChunTao Tso &lt;chuntao.tso@amd.com&gt;
Signed-off-by: Robin Chen&lt;robin.chen@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: Implement wait_for_odm_update_pending_complete</title>
<updated>2024-03-20T17:12:58Z</updated>
<author>
<name>Wenjing Liu</name>
</author>
<published>2024-02-23T20:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d7f3d1a5866705be2393150e1ffdf67030ab88d'/>
<id>urn:sha1:2d7f3d1a5866705be2393150e1ffdf67030ab88d</id>
<content type='text'>
[WHY]
Odm update is doubled buffered. We need to wait for ODM update to be
completed before optimizing bandwidth or programming new udpates.

[HOW]
implement wait_for_odm_update_pending_complete function to wait for:
1. odm configuration update is no longer pending in timing generator.
2. no pending dpg pattern update for each active OPP.

Cc: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Cc: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee &lt;alvin.lee2@amd.com&gt;
Acked-by: Alex Hung &lt;alex.hung@amd.com&gt;
Signed-off-by: Wenjing Liu &lt;wenjing.liu@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>
</feed>
