<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/gpu/drm/i915/display/intel_alpm.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2026-03-19T15:15:13Z</updated>
<entry>
<title>drm/i915/alpm: ALPM disable fixes</title>
<updated>2026-03-19T15:15:13Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2026-02-12T06:27:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=08d9c4c028d217445d658494c76465ca9dc72c46'/>
<id>urn:sha1:08d9c4c028d217445d658494c76465ca9dc72c46</id>
<content type='text'>
commit eb4a7139e97374f42b7242cc754e77f1623fbcd5 upstream.

PORT_ALPM_CTL is supposed to be written only before link training. Remove
writing it from ALPM disable.

Also clearing ALPM_CTL_ALPM_AUX_LESS_ENABLE and is not about disabling ALPM
but switching to AUX-Wake ALPM. Stop touching this bit on ALPM disable.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/7153
Fixes: 1ccbf135862b ("drm/i915/psr: Enable ALPM on source side for eDP Panel replay")
Cc: Animesh Manna &lt;animesh.manna@intel.com&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v6.10+
Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Michał Grzelak &lt;michal.grzelak@intel.com&gt;
Link: https://patch.msgid.link/20260212062731.397801-1-jouni.hogander@intel.com
(cherry picked from commit 008304c9ae75c772d3460040de56e12112cdf5e6)
Signed-off-by: Joonas Lahtinen &lt;joonas.lahtinen@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drm/i915/dp: Read ALPM caps after DPCD init</title>
<updated>2026-03-19T15:14:52Z</updated>
<author>
<name>Arun R Murthy</name>
<email>arun.r.murthy@intel.com</email>
</author>
<published>2026-03-04T07:21:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6da1d209c3c255a347ed6ddce2d2f1a8cb73c92e'/>
<id>urn:sha1:6da1d209c3c255a347ed6ddce2d2f1a8cb73c92e</id>
<content type='text'>
[ Upstream commit 335b237d902c7362cb7228802e68374406b24acf ]

For eDP read the ALPM DPCD caps after DPCD initalization and just before
the PSR init.

v2: Move intel_alpm_init to intel_edp_init_dpcd (Jouni)
v3: Add Fixes with commit-id (Jouni)
v4: Separated the alpm dpcd read caps from alpm_init and moved to
intel_edp_init_dpcd.
v5: Read alpm_caps always for eDP irrespective of the eDP version (Jouni)
v6: replace drm_dp_dpcd_readb with drm_dp_dpcd_read_byte (Jouni)

Fixes: 15438b325987 ("drm/i915/alpm: Add compute config for lobf")
Signed-off-by: Arun R Murthy &lt;arun.r.murthy@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Reviewed-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Signed-off-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://patch.msgid.link/20260304072157.1123283-1-arun.r.murthy@intel.com
(cherry picked from commit 88442ba208dd5d3405de3f5000cf5b2c86876ae3)
Signed-off-by: Tvrtko Ursulin &lt;tursulin@ursulin.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/i915/alpm: Remove parameters suffix from intel_dp-&gt;alpm_parameters</title>
<updated>2025-10-09T06:06:41Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-09-29T13:00:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0676602f845313ff2ea0a44a39488e5f6b8720d5'/>
<id>urn:sha1:0676602f845313ff2ea0a44a39488e5f6b8720d5</id>
<content type='text'>
Now as intel_dp-&gt;alpm_parameters doesn't really contain any parameters it
doesn't make sense to call it as alpm_parameters -&gt; remove parameters
suffix.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250929130003.28365-2-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Compute ALPM parameters into crtc_state-&gt;alpm_state</title>
<updated>2025-10-09T06:06:13Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-09-29T13:00:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2bc98c6f97afaa55d7d1d3b66ea850166180d4fa'/>
<id>urn:sha1:2bc98c6f97afaa55d7d1d3b66ea850166180d4fa</id>
<content type='text'>
Currently ALPM parameters are computed directly into
intel_dp-&gt;alpm_parameters. This is a problem when compute config ends up to
not using the computed state.

Fix this by adding ALPM parameters into intel_crtc_state and compute into
there. Copy needed parameters (io_wake_lines and fast_wake_lines used by
PSR activate/exit) from crtc_state-&gt;alpm_state into
intel_dp-&gt;alpm.alpm_parameters when they are configured into HW.

v3:
  - enhance commit message
v2:
  - store io/fast wake lines into intel_dp-&gt;dp instead of
    intel_dp-&gt;alpm_parameters and do it in intel_psr_enable_locked
  - rename crtc_state-&gt;alpm_parameters -&gt; crtc_state-&gt;alpm_state
  - clarify commit message

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250929130003.28365-1-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Remove error handling from get_lfps_cycle_min_max_time</title>
<updated>2025-09-18T05:55:15Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-09-12T06:40:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fcf2af765c1e4f47f2fc8aa8ce7d368fc5728f46'/>
<id>urn:sha1:fcf2af765c1e4f47f2fc8aa8ce7d368fc5728f46</id>
<content type='text'>
Getter for LFPS cycle min/max times is unnecessarily checking faulty port
clock value. This doesn't make sense as erroneous port clock value would
have been noticed already at this point. Remove this check and use 140/800
ns always when port clock &gt; 540000.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Mika Kahola &lt;mika.kahola@intel.com&gt;
Link: https://lore.kernel.org/r/20250912064035.335329-1-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Use actual lfps cycle and silence periods in wake time</title>
<updated>2025-09-05T05:35:47Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-08-29T05:39:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d074a40b8828fe29c2bab59d0c4a26c940af7e88'/>
<id>urn:sha1:d074a40b8828fe29c2bab59d0c4a26c940af7e88</id>
<content type='text'>
Currently we are using maximum lfps cycle and silence period times when
calculating AUXLess wake time. Use actual values instead.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250829053929.3585636-5-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Replace hardcoded LFPS cycle with proper calculation</title>
<updated>2025-09-05T05:35:46Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-08-29T05:39:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cc2189a97848a41d107c03da6ddd93d94ad27e77'/>
<id>urn:sha1:cc2189a97848a41d107c03da6ddd93d94ad27e77</id>
<content type='text'>
Currently LFPS is hadcoded for different port clocks. Replace this with
proper calculation.

v2: replace hardcoded 20 with 2 * LFPS_CYCLE_COUNT

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250829053929.3585636-4-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Add own define for LFPS count</title>
<updated>2025-09-05T05:35:45Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-08-29T05:39:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e9c62c8654875bb583fa07701e3921540550a379'/>
<id>urn:sha1:e9c62c8654875bb583fa07701e3921540550a379</id>
<content type='text'>
Add own define for LFPS count and use it for the configuration. This new
define will be used for calculating ALPM parameters as well.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250829053929.3585636-3-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Calculate silence period</title>
<updated>2025-09-05T05:35:45Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-08-29T05:39:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3b5b2567f8d2e16f7200ea36f62e00bf79248bfb'/>
<id>urn:sha1:3b5b2567f8d2e16f7200ea36f62e00bf79248bfb</id>
<content type='text'>
Calculate silence period instead of hardcoding it in switch case.

Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Animesh Manna &lt;animesh.manna@intel.com&gt;
Link: https://lore.kernel.org/r/20250829053929.3585636-2-jouni.hogander@intel.com
</content>
</entry>
<entry>
<title>drm/i915/alpm: Move port alpm configuration</title>
<updated>2025-05-29T05:13:42Z</updated>
<author>
<name>Jouni Högander</name>
<email>jouni.hogander@intel.com</email>
</author>
<published>2025-05-26T12:05:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6ecb8e586f8339657211e12fcba7f77bae297fdd'/>
<id>urn:sha1:6ecb8e586f8339657211e12fcba7f77bae297fdd</id>
<content type='text'>
It is specified in Bspec where port alpm configuration is supposed to be
performed. Change accordingly.

v2:
  - drop HAS reference
  - ensure PORT_ALPM registers are not writen on older platform

Bspec: 68849
Signed-off-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Ankit Nautiyal &lt;ankit.k.nautiyal@intel.com&gt;
Link: https://lore.kernel.org/r/20250526120512.1702815-9-jouni.hogander@intel.com
</content>
</entry>
</feed>
