<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/i915/display/intel_hotplug.c, branch linux-rolling-lts</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-08-07T08:30:26Z</updated>
<entry>
<title>drm/i915/display: use drm-&gt;debugfs_root for creating debugfs files</title>
<updated>2025-08-07T08:30:26Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-07-29T09:57:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39896c529454763fb7d40ecb2657ad9f65c462ee'/>
<id>urn:sha1:39896c529454763fb7d40ecb2657ad9f65c462ee</id>
<content type='text'>
Since commit 0b30d57acafc ("drm/debugfs: rework debugfs directory
creation v5") we should be using drm-&gt;debugfs_root instead of
minor-&gt;debugfs_root for creating debugfs files.

As a rule of thumb, use a local variable when there are two or more
uses, otherwise just have the single reference inline.

Drop drm/drm_file.h include where possible.

Reviewed-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
Link: https://lore.kernel.org/r/e8268546ec2a2941a3dc43c2fdc60f678dc03fce.1753782998.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/{i915,xe}/display: Block hpd during suspend</title>
<updated>2025-08-04T11:34:52Z</updated>
<author>
<name>Dibin Moolakadan Subrahmanian</name>
</author>
<published>2025-07-24T08:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e2c8fbc66a002c90bf9aa217ec2ffb52b027154'/>
<id>urn:sha1:6e2c8fbc66a002c90bf9aa217ec2ffb52b027154</id>
<content type='text'>
It has been observed that during `xe_display_pm_suspend()` execution,
an HPD interrupt can still be triggered, resulting in `dig_port_work`
being scheduled. The issue arises when this work executes after
`xe_display_pm_suspend_late()`, by which time the display is fully
suspended.

This can lead to errors such as "DC state mismatch", as the dig_port
work accesses display resources that are no longer available or
powered.

To address this, introduce  'intel_encoder_block_all_hpds' and
'intel_encoder_unblock_all_hpds' functions, which iterate over all
encoders and block/unblock HPD respectively.

These are used to:
- Block HPD IRQs before calling 'intel_hpd_cancel_work' in suspend
  and shutdown
- Unblock HPD IRQs after 'intel_hpd_init' in resume

This will prevent 'dig_port_work' being scheduled during display
suspend.

Continuation of previous patch discussion:
https://patchwork.freedesktop.org/patch/663964/

Changes in v2:
 - Add 'intel_encoder_block_all_hpds' to 'xe_display_pm_shutdown'.(Imre
   Deak)
 - Add 'intel_hpd_cancel_work' to 'xe_display_fini_early' to cancel
   any HPD pending work at late driver removal. (Imre Deak)

Changes in v3:
 - Move 'intel_encoder_block_all_hpds' after intel_dp_mst_suspend
   in 'xe_display_pm_shutdown'.(Imre Deak)

Signed-off-by: Dibin Moolakadan Subrahmanian &lt;dibin.moolakadan.subrahmanian@intel.com&gt;
Reviewed-by: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;
Acked-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Acked-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Imre Deak &lt;imre.deak@intel.com&gt;
Link: https://lore.kernel.org/r/20250724083928.2298199-1-dibin.moolakadan.subrahmanian@intel.com
</content>
</entry>
<entry>
<title>drm/xe/compat: stop including i915_utils.h from compat i915_drv.h</title>
<updated>2025-08-04T08:13:07Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-07-31T12:36:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4274a2b75696115f5a5d026a93a3a56f0f99c928'/>
<id>urn:sha1:4274a2b75696115f5a5d026a93a3a56f0f99c928</id>
<content type='text'>
Expose the places that need i915_utils.h, and include it where needed.

Reviewed-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Link: https://lore.kernel.org/r/6338c8524e600e048b56c5484624cfb51ed49d1d.1753965351.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/display: move unordered works to new private workqueue</title>
<updated>2025-06-26T09:22:51Z</updated>
<author>
<name>Luca Coelho</name>
</author>
<published>2025-06-20T09:15:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c377900772d8f9b47d434e1e4c021fdf8547635'/>
<id>urn:sha1:7c377900772d8f9b47d434e1e4c021fdf8547635</id>
<content type='text'>
Create a new unordered workqueue to be used by the display code
instead of relying on the i915 one.  Then move all the unordered works
used in the display code to use this new queue.

Since this is an unordered workqueue, by definition there can't be any
order dependency with non-display works, so no extra care is needed
in regard to that.

This is part of the effort to isolate the display code from i915.

Reviewed-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://lore.kernel.org/r/20250620091632.1256135-1-luciano.coelho@intel.com
Signed-off-by: Luca Coelho &lt;luciano.coelho@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/dp: Disable the AUX DPCD probe quirk if it's not required</title>
<updated>2025-06-12T17:44:15Z</updated>
<author>
<name>Imre Deak</name>
</author>
<published>2025-06-09T12:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed3648b9ec4c040d5eebc9e4b8b9083a68628022'/>
<id>urn:sha1:ed3648b9ec4c040d5eebc9e4b8b9083a68628022</id>
<content type='text'>
Reading DPCD registers has side-effects and some of these can cause a
problem for instance during link training. Based on this it's better to
avoid the probing quirk done before each DPCD register read, limiting
this to the monitor which requires it. The only known problematic
monitor is an external SST sink, so keep the quirk disabled always for
eDP and MST sinks. Reenable the quirk after a hotplug event and after
resuming from a power state without hotplug support, until the
subsequent EDID based detection.

v2: Add a helper for determining the need/setting the probing. (Jani)

Cc: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Reviewed-by: Mika Kahola &lt;mika.kahola@intel.com&gt;
Acked-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Signed-off-by: Imre Deak &lt;imre.deak@intel.com&gt;
Link: https://lore.kernel.org/r/20250609125556.109538-2-imre.deak@intel.com
</content>
</entry>
<entry>
<title>drm/i915: stop including display/intel_display_{core, limits}.h from i915_drv.h</title>
<updated>2025-05-27T08:25:53Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-05-22T09:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62384da2a04d7a61d840ad099fc9d0d065b31208'/>
<id>urn:sha1:62384da2a04d7a61d840ad099fc9d0d065b31208</id>
<content type='text'>
Make i915-&gt;display pointer opaque to most of core i915 driver. Lots of
places now need explicit include of intel_display_core.h, or a more
specific header.

With this dependency broken, changes in display should cause radically
less recompilation of i915.

Reviewed-by: Chaitanya Kumar Borah &lt;chaitanya.kumar.borah@intel.com&gt;
Link: https://lore.kernel.org/r/b381b59acb7e4f600e0282935a68aedf77768109.1747907216.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/irq: move i915-&gt;irq_lock to display-&gt;irq.lock</title>
<updated>2025-05-07T08:09:43Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-05-06T13:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f2ab6a773e26f1e3d4a5de5476ee8288e6628f9'/>
<id>urn:sha1:0f2ab6a773e26f1e3d4a5de5476ee8288e6628f9</id>
<content type='text'>
Observe that i915-&gt;irq_lock is no longer used to protect anything
outside of display. Make it a display thing.

This allows us to remove the ugly #define irq_lock irq.lock hack from xe
compat header.

Note that this is slightly more subtle than it first looks. For i915,
there's no functional change here. The lock is moved. However, for xe,
we'll now have *two* locks, xe-&gt;irq.lock and display-&gt;irq.lock. These
should protect different things, though. Indeed, nesting in the past
would've lead to a deadlock because they were the same lock.

With the i915 references gone, we can make a handful more files
independent of i915_drv.h.

Reviewed-by: Gustavo Sousa &lt;gustavo.sousa@intel.com&gt;
Link: https://lore.kernel.org/r/6d8d2ce0f34a9c7361a5e2fcf96bb32a34c57e76.1746536745.git.jani.nikula@intel.com
[Jani: Fixed a comment while applying.]
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/display: Fix htmldocs build</title>
<updated>2025-03-31T14:32:02Z</updated>
<author>
<name>Rodrigo Vivi</name>
</author>
<published>2025-03-28T19:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bee964bd14ae951c7b6eb59b4421e1ccd9edb69b'/>
<id>urn:sha1:bee964bd14ae951c7b6eb59b4421e1ccd9edb69b</id>
<content type='text'>
Fixes a wrong documentation block indentation:

Documentation/gpu/i915:141: ./drivers/gpu/drm/i915/display/intel_hotplug.c:1080: ERROR: Unexpected indentation.
Documentation/gpu/i915:141: ./drivers/gpu/drm/i915/display/intel_hotplug.c:1082: WARNING: Block quote ends without a blank line; unexpected unindent.

v2: Use an empty line instead of changing block indentation (Imre)

Fixes: 0d77a3e0ea90 ("drm/i915/hpd: Add support for blocking the IRQ handling on an HPD pin")
Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Closes: https://lore.kernel.org/intel-gfx/20250312232506.47451f83@canb.auug.org.au/
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Reviewed-by: Imre Deak &lt;imre.deak@intel.com&gt;
Link: https://lore.kernel.org/r/20250328180829.25892-1-rodrigo.vivi@intel.com
Link: https://lore.kernel.org/r/20250328193202.40884-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/i915/display: convert to display runtime PM interfaces</title>
<updated>2025-03-21T08:20:05Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-03-20T15:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d3408328af05a6d9399e14c7505cce0b2f2e3b9'/>
<id>urn:sha1:4d3408328af05a6d9399e14c7505cce0b2f2e3b9</id>
<content type='text'>
Convert i915 runtime PM interfaces to display runtime PM interfaces all
over the place in display code.

Reviewed-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://lore.kernel.org/r/494d0bd0348e4aa99560f1aed21aaaff31706c44.1742483007.git.jani.nikula@intel.com
</content>
</entry>
<entry>
<title>drm/i915/hotplug: convert intel_hotplug_irq.[ch] to struct intel_display</title>
<updated>2025-03-21T07:40:08Z</updated>
<author>
<name>Jani Nikula</name>
</author>
<published>2025-03-20T14:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e40b20ed47646eea52d8521b8b2ff0bdc716106'/>
<id>urn:sha1:1e40b20ed47646eea52d8521b8b2ff0bdc716106</id>
<content type='text'>
Going forward, struct intel_display is the main display device data
pointer. Convert as much as possible of intel_hotplug_irq.[ch] to struct
intel_display.

Reviewed-by: Uma Shankar &lt;uma.shankar@intel.com&gt;
Reviewed-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://lore.kernel.org/r/8ddf27ea31b543f88c5f124f029c2eaa06a9aae7.1742481923.git.jani.nikula@intel.com
</content>
</entry>
</feed>
