<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/drm/drm_probe_helper.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-03-24T08:31:03Z</updated>
<entry>
<title>drm/probe-helper: Do not fail from drmm_kms_helper_poll_init()</title>
<updated>2025-03-24T08:31:03Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2025-03-03T14:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f878af62c06c3e0f2b94f6bafd040400d8cfa4d9'/>
<id>urn:sha1:f878af62c06c3e0f2b94f6bafd040400d8cfa4d9</id>
<content type='text'>
Failing to set up connector polling is not significant enough to
fail device probing. Print a warning and return nothing from the
init helper.

This only affects the managed init function. The unmanaged init
already never fails with an error.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Patrik Jakobsson &lt;patrik.r.jakobsson@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20250303145604.62962-4-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Automatically clean up poll helper</title>
<updated>2024-04-02T08:40:52Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2024-03-25T20:06:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10021ef27310279c850cf6cb38542c443a995e92'/>
<id>urn:sha1:10021ef27310279c850cf6cb38542c443a995e92</id>
<content type='text'>
Automatically clean up the conncetor-poll thread as part of the DRM
device release. The new helper drmm_kms_helper_poll_init() provides
a shared implementation for all drivers.

v6:
- fix kernel doc comment (Sui, kernel test robot)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Acked-by: Sui Jingfeng &lt;sui.jingfeng@linux.dev&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240325200855.21150-14-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/ast: Implement polling for VGA and SIL164 connectors</title>
<updated>2024-04-02T08:40:51Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2024-03-25T20:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=225a8d0bd93eb87fe49947069075260031bad8af'/>
<id>urn:sha1:225a8d0bd93eb87fe49947069075260031bad8af</id>
<content type='text'>
Implement polling for VGA and SIL164 connectors. Set the flag
DRM_CONNECTOR_POLL_DISCONNECT for each to detect the removal of the
monitor cable. Implement struct drm_connector_helper_funcs.detect_ctx
for each type of connector by testing for EDID data.

The helper drm_connector_helper_detect_ctx() implements .detect_ctx()
on top of the connector's DDC channel. The function can be used by
other drivers as companion to drm_connector_helper_get_modes().

v6:
- change helper name to drm_connector_helper_detec_from_ddc()
  (Maxime, Sui)
v5:
- share implementation in drm_connector_helper_detect_ctx() (Maxime)
- test for DDC presence with drm_probe_ddc() (Maxime, Jani)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Acked-by: Sui Jingfeng &lt;sui.jingfeng@linux.dev&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240325200855.21150-13-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/probe-helper: remove unused drm_connector_helper_get_modes_from_ddc()</title>
<updated>2024-01-08T10:37:52Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2024-01-05T16:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=babebd1dc1279027206583a9921e05657f97da87'/>
<id>urn:sha1:babebd1dc1279027206583a9921e05657f97da87</id>
<content type='text'>
Remove the unused drm_connector_helper_get_modes_from_ddc()
function. Most drivers should probably have this functionality split to
detect and get modes parts, so the helper is not the best abstraction.

Suggested-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/60eb6b2db16747d3f9c12604b197f33da585c16e.1704473654.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm: Add an HPD poll helper to reschedule the poll work</title>
<updated>2023-08-23T21:10:26Z</updated>
<author>
<name>Imre Deak</name>
</author>
<published>2023-08-22T11:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a94e7ccfc400c024976f3c2f31689ed843498b7c'/>
<id>urn:sha1:a94e7ccfc400c024976f3c2f31689ed843498b7c</id>
<content type='text'>
Add a helper to reschedule drm_mode_config::output_poll_work after
polling has been enabled for a connector (and needing a reschedule,
since previously polling was disabled for all connectors and hence
output_poll_work was not running).

This is needed by the next patch fixing HPD polling on i915.

CC: stable@vger.kernel.org # 6.4+
Cc: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Jouni Högander &lt;jouni.hogander@intel.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Signed-off-by: Imre Deak &lt;imre.deak@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230822113015.41224-1-imre.deak@intel.com
(cherry picked from commit fe2352fd64029918174de4b460dfe6df0c6911cd)
Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/probe-helper: Provide a TV get_modes helper</title>
<updated>2022-11-24T11:42:40Z</updated>
<author>
<name>Noralf Trønnes</name>
</author>
<published>2022-11-17T09:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e4a91db109f623d0e3ef7d8bfae3c88b4d2fa87'/>
<id>urn:sha1:1e4a91db109f623d0e3ef7d8bfae3c88b4d2fa87</id>
<content type='text'>
Most of the TV connectors will need a similar get_modes implementation
that will, depending on the drivers' capabilities, register the 480i and
576i modes.

That implementation will also need to set the preferred flag and order
the modes based on the driver and users preferrence.

This is especially important to guarantee that a userspace stack such as
Xorg can start and pick up the preferred mode while maintaining a
working output.

Signed-off-by: Noralf Trønnes &lt;noralf@tronnes.org&gt;
Tested-by: Mateusz Kwiatkowski &lt;kfyatek+publicgit@gmail.com&gt;
Acked-in-principle-or-something-like-that-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v10-12-256dad125326@cerno.tech
Signed-off-by: Maxime Ripard &lt;maxime@cerno.tech&gt;
</content>
</entry>
<entry>
<title>drm/probe-helper: Add drm_crtc_helper_mode_valid_fixed()</title>
<updated>2022-09-12T07:14:26Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2022-09-05T14:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=216b9bbaeaea96b7f05c220f61855d174be972d8'/>
<id>urn:sha1:216b9bbaeaea96b7f05c220f61855d174be972d8</id>
<content type='text'>
Add drm_crtc_helper_mode_valid_fixed(), which validates a given mode
against a display hardware's mode. Convert simpledrm and use it in a
few other drivers with static modes.

v4:
	* remove empty line after opening brace
v2:
	* rename 'static' and 'hw' to 'fixed' everywhere

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220905141648.22013-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/probe-helper: Add drm_connector_helper_get_modes_fixed()</title>
<updated>2022-09-12T07:13:25Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2022-09-05T14:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d25654b3fad9906ca80912701fd4bd6e2419f54d'/>
<id>urn:sha1:d25654b3fad9906ca80912701fd4bd6e2419f54d</id>
<content type='text'>
Add drm_connector_helper_get_modes_fixed(), which duplicates a single
display mode for a connector. Convert drivers.

v2:
	* rename 'static' and 'hw' to 'fixed' everywhere
	* fix typo 'there' to 'their' (Sam)

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220905141648.22013-2-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/probe-helper: add drm_connector_helper_get_modes()</title>
<updated>2022-06-30T07:51:03Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2022-06-29T09:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=964893d3caff6bc39f6cf5cb7d90fd78a810c535'/>
<id>urn:sha1:964893d3caff6bc39f6cf5cb7d90fd78a810c535</id>
<content type='text'>
Add a helper function to be used as the "default" .get_modes()
hook. This also works as an example of what the driver .get_modes()
hooks are supposed to do regarding the new drm_edid_read*() and
drm_edid_connector_update() calls.

Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/d985449ed4b95971490ab7c09d2d59b58a892769.1656494768.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/mgag200: Implement connector's get_modes with helper</title>
<updated>2022-05-17T18:23:38Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2022-05-16T13:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16f1456466c269ecda32b88c3f8fdd76f8ec370c'/>
<id>urn:sha1:16f1456466c269ecda32b88c3f8fdd76f8ec370c</id>
<content type='text'>
Provide drm_connector_helper_get_modes_from_ddc() to implement the
connector's get_modes callback. The new helper updates the connector
from DDC-provided EDID data.

v2:
	* clear property if EDID is NULL in helper

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Tested-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220516134343.6085-4-tzimmermann@suse.de
</content>
</entry>
</feed>
