<div dir="auto"><div>I'll try to find some moment to do bisecting, probably will be next week when I get to do this.</div><div dir="auto"><br></div><div dir="auto">/Juha-Pekka<br><br><div class="gmail_quote gmail_quote_container" dir="auto"><div dir="ltr" class="gmail_attr">to 20. maalisk. 2025 klo 10.25 Tvrtko Ursulin <<a href="mailto:tvrtko.ursulin@igalia.com">tvrtko.ursulin@igalia.com</a>> kirjoitti:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
On 19/03/2025 13:41, Juha-Pekka Heikkilä wrote:<br>
> Hi Tvrtko,<br>
> <br>
> I did quick run with these patches. With these changes on top of<br>
> today's drm-tip I got a complete system freeze on mtl and its variants<br>
> when do modprobe. I had kgdb enabled but I wasn't even thrown there,<br>
> the machine went completely unresponsive. On 3/3 tries modprobe xe<br>
> always completely froze the box.<br>
<br>
I don't have MTL to try and neither apparently does CI, which otherwise <br>
seems happy, as is my ADL-P laptop.<br>
<br>
Would you have time to bisect? Or maybe netconsole to see what explodes?<br>
<br>
Not much comes to mind looking at the patches.. Maybe something runs to <br>
early before something else is initialised. Guessing only.<br>
<br>
Regards,<br>
<br>
Tvrtko<br>
<br>
> On Tue, Mar 18, 2025 at 6:22 PM Tvrtko Ursulin<br>
> <<a href="mailto:tvrtko.ursulin@igalia.com" target="_blank" rel="noreferrer">tvrtko.ursulin@igalia.com</a>> wrote:<br>
>><br>
>> A series to fix and add xe support for AuxCSS framebuffers via DPT.<br>
>><br>
>> Currently the auxiliary buffer data isn't mapped into the page tables at all so<br>
>> cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe")<br>
>> had to disable the support.<br>
>><br>
>> On top of that there are missing flushes and invalidations both from the ring<br>
>> buffer side and from the CPU side.<br>
>><br>
>> Tested with KDE Wayland, on Lenovo Carbon X1 ADL-P:<br>
>><br>
>> [PLANE:32:plane 1A]: type=PRI<br>
>> uapi: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=visible, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)<br>
>> hw: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=yes, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)<br>
>><br>
>> Display seems working fine - no artefacts, no DMAR/PIPE faults. CI also appears<br>
>> to be happy with v2.<br>
>><br>
>> v2:<br>
>> * More patches added to fix kms_flip_tiling.<br>
>><br>
>> v3:<br>
>> * Rebased after some cleanup patches from v2 were merged.<br>
>> * Added people to Cc as suggested by Rodrigo.<br>
>> * Adjusted last patch title. (Rodrigo)<br>
>> * Apply GGTT flushing only to iomapped system memory buffers.<br>
>><br>
>> Cc: José Roberto de Souza <<a href="mailto:jose.souza@intel.com" target="_blank" rel="noreferrer">jose.souza@intel.com</a>><br>
>> Cc: Juha-Pekka Heikkila <<a href="mailto:juhapekka.heikkila@gmail.com" target="_blank" rel="noreferrer">juhapekka.heikkila@gmail.com</a>><br>
>> Cc: Michael J. Ruhl <<a href="mailto:michael.j.ruhl@intel.com" target="_blank" rel="noreferrer">michael.j.ruhl@intel.com</a>><br>
>> Cc: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com" target="_blank" rel="noreferrer">ville.syrjala@linux.intel.com</a>><br>
>><br>
>> Tvrtko Ursulin (8):<br>
>> drm/xe: Add ring buffer handling for AuxCCS<br>
>> drm/xe: Use fb cached min alignment<br>
>> drm/xe: Reduce DPT table alignment as in i915<br>
>> drm/xe: Flush GGTT writes after populating DPT<br>
>> drm/xe: Handle DPT in system memory<br>
>> drm/xe: Force flush system memory AuxCCS framebuffers before scan out<br>
>> drm/xe/display: Add support for AuxCCS<br>
>> drm/i915/display: Expose AuxCCS frame buffer modifiers for Xe<br>
>><br>
>> .../drm/i915/display/skl_universal_plane.c | 6 -<br>
>> drivers/gpu/drm/xe/display/xe_fb_pin.c | 181 ++++++++++++++----<br>
>> .../gpu/drm/xe/instructions/xe_gpu_commands.h | 1 +<br>
>> .../gpu/drm/xe/instructions/xe_mi_commands.h | 6 +<br>
>> drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 +<br>
>> drivers/gpu/drm/xe/xe_bo_types.h | 14 +-<br>
>> drivers/gpu/drm/xe/xe_ring_ops.c | 173 +++++++++--------<br>
>> drivers/gpu/drm/xe/xe_ring_ops_types.h | 2 +-<br>
>> 8 files changed, 261 insertions(+), 123 deletions(-)<br>
>><br>
>> --<br>
>> 2.48.0<br>
>><br>
<br>
</blockquote></div></div></div>