<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/drivers/gpu, branch rust-6.13</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=rust-6.13</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=rust-6.13'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2024-10-20T21:05:17Z</updated>
<entry>
<title>drm/panic: allow verbose version check</title>
<updated>2024-10-20T21:05:17Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=06b919e3fedf4798a1f0f60e0b67caa192f724a7'/>
<id>urn:sha1:06b919e3fedf4798a1f0f60e0b67caa192f724a7</id>
<content type='text'>
Clippy warns about a reimplementation of `RangeInclusive::contains`:

    error: manual `!RangeInclusive::contains` implementation
       --&gt; drivers/gpu/drm/drm_panic_qr.rs:986:8
        |
    986 |     if version &lt; 1 || version &gt; 40 {
        |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(1..=40).contains(&amp;version)`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
        = note: `-D clippy::manual-range-contains` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::manual_range_contains)]`

Ignore this and keep the current implementation as that makes it easier
to read.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-8-witcher@wiredspace.de
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: allow verbose boolean for clarity</title>
<updated>2024-10-20T21:05:11Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=27aef8a52e4b7f120ce47cd638d9d83065b759d2'/>
<id>urn:sha1:27aef8a52e4b7f120ce47cd638d9d83065b759d2</id>
<content type='text'>
Clippy complains about a non-minimal boolean expression with
`nonminimal_bool`:

    error: this boolean expression can be simplified
       --&gt; drivers/gpu/drm/drm_panic_qr.rs:722:9
        |
    722 |         (x &lt; 8 &amp;&amp; y &lt; 8) || (x &lt; 8 &amp;&amp; y &gt;= end) || (x &gt;= end &amp;&amp; y &lt; 8)
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
        = note: `-D clippy::nonminimal-bool` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::nonminimal_bool)]`
    help: try
        |
    722 |         !(x &gt;= 8 || y &gt;= 8 &amp;&amp; y &lt; end) || (x &gt;= end &amp;&amp; y &lt; 8)
        |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    722 |         (y &gt;= end || y &lt; 8) &amp;&amp; x &lt; 8 || (x &gt;= end &amp;&amp; y &lt; 8)
        |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

While this can be useful in a lot of cases, it isn't here because the
line expresses clearly what the intention is. Simplifying the expression
means losing clarity, so opt-out of this lint for the offending line.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-7-witcher@wiredspace.de
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: correctly indent continuation of line in list item</title>
<updated>2024-10-20T14:10:18Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=5bb698e6fc514ddd9e23b6649b29a0934d8d8586'/>
<id>urn:sha1:5bb698e6fc514ddd9e23b6649b29a0934d8d8586</id>
<content type='text'>
It is common practice in Rust to indent the next line the same amount of
space as the previous one if both belong to the same list item. Clippy
checks for this with the lint `doc_lazy_continuation`.

    error: doc list item without indentation
    --&gt; drivers/gpu/drm/drm_panic_qr.rs:979:5
        |
    979 | /// conversion to numeric segments.
        |     ^
        |
        = help: if this is supposed to be its own paragraph, add a blank line
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
        = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
    help: indent this line
        |
    979 | ///   conversion to numeric segments.
        |     ++

Indent the offending line by 2 more spaces to remove this Clippy error.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-6-witcher@wiredspace.de
[ Reworded to indent Clippy's message. - Miguel ]
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: remove redundant field when assigning value</title>
<updated>2024-10-20T14:10:18Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=da13129a3f2a75d49469e1d6f7dcefac2d11d205'/>
<id>urn:sha1:da13129a3f2a75d49469e1d6f7dcefac2d11d205</id>
<content type='text'>
Rust allows initializing fields of a struct without specifying the
attribute that is assigned if the variable has the same name. In this
instance this is done for all other attributes of the struct except for
`data`. Clippy notes the redundant field name:

    error: redundant field names in struct initialization
    --&gt; drivers/gpu/drm/drm_panic_qr.rs:495:13
        |
    495 |             data: data,
        |             ^^^^^^^^^^ help: replace it with: `data`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
        = note: `-D clippy::redundant-field-names` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`

Remove the redundant `data` in the assignment to be consistent.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-5-witcher@wiredspace.de
[ Reworded to add Clippy warning like it is done in the rest of the
  series. - Miguel ]
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: prefer eliding lifetimes</title>
<updated>2024-10-20T14:10:18Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=ae75c40117b53ae3d91dfc9d0bf06984a079f044'/>
<id>urn:sha1:ae75c40117b53ae3d91dfc9d0bf06984a079f044</id>
<content type='text'>
Eliding lifetimes when possible instead of specifying them directly is
both shorter and easier to read. Clippy notes this in the
`needless_lifetimes` lint:

    error: the following explicit lifetimes could be elided: 'b
       --&gt; drivers/gpu/drm/drm_panic_qr.rs:479:16
        |
    479 |     fn new&lt;'a, 'b&gt;(segments: &amp;[&amp;Segment&lt;'b&gt;], data: &amp;'a mut [u8]) -&gt; Option&lt;EncodedMsg&lt;'a&gt;&gt; {
        |                ^^                       ^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
        = note: `-D clippy::needless-lifetimes` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
    help: elide the lifetimes
        |
    479 -     fn new&lt;'a, 'b&gt;(segments: &amp;[&amp;Segment&lt;'b&gt;], data: &amp;'a mut [u8]) -&gt; Option&lt;EncodedMsg&lt;'a&gt;&gt; {
    479 +     fn new&lt;'a&gt;(segments: &amp;[&amp;Segment&lt;'_&gt;], data: &amp;'a mut [u8]) -&gt; Option&lt;EncodedMsg&lt;'a&gt;&gt; {
        |

Remove the explicit lifetime annotation in favour of an elided lifetime.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-4-witcher@wiredspace.de
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: remove unnecessary borrow in alignment_pattern</title>
<updated>2024-10-20T14:10:18Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=7b6de57e0b2d1e62becfa3aac063c4c58d2c2c42'/>
<id>urn:sha1:7b6de57e0b2d1e62becfa3aac063c4c58d2c2c42</id>
<content type='text'>
The function `alignment_pattern` returns a static reference to a `u8`
slice. The borrow of the returned element in `ALIGNMENT_PATTERNS` is
already a reference as defined in the array definition above so this
borrow is unnecessary and removed by the compiler. Clippy notes this in
`needless_borrow`:

    error: this expression creates a reference which is immediately dereferenced by the compiler
       --&gt; drivers/gpu/drm/drm_panic_qr.rs:245:9
        |
    245 |         &amp;ALIGNMENT_PATTERNS[self.0 - 1]
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `ALIGNMENT_PATTERNS[self.0 - 1]`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
        = note: `-D clippy::needless-borrow` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`

Remove the unnecessary borrow.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-3-witcher@wiredspace.de
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/panic: avoid reimplementing Iterator::find</title>
<updated>2024-10-20T14:08:35Z</updated>
<author>
<name>Thomas Böhler</name>
<email>witcher@wiredspace.de</email>
</author>
<published>2024-10-19T08:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=c408dd81678bb0a957eae96962c913c242e069f7'/>
<id>urn:sha1:c408dd81678bb0a957eae96962c913c242e069f7</id>
<content type='text'>
Rust's standard library's `std::iter::Iterator` trait provides a function
`find` that finds the first element that satisfies a predicate.
The function `Version::from_segments` is doing the same thing but is
implementing the same logic itself.

Clippy complains about this in the `manual_find` lint:

    error: manual implementation of `Iterator::find`
       --&gt; drivers/gpu/drm/drm_panic_qr.rs:212:9
        |
    212 | /         for v in (1..=40).map(|k| Version(k)) {
    213 | |             if v.max_data() * 8 &gt;= segments.iter().map(|s| s.total_size_bits(v)).sum() {
    214 | |                 return Some(v);
    215 | |             }
    216 | |         }
    217 | |         None
        | |____________^ help: replace with an iterator: `(1..=40).map(|k| Version(k)).find(|&amp;v| v.max_data() * 8 &gt;= segments.iter().map(|s| s.total_size_bits(v)).sum())`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_find
        = note: `-D clippy::manual-find` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::manual_find)]`

Use `Iterator::find` instead to make the intention clearer.

At the same time, clean up the redundant closure that Clippy warns
about too:

    error: redundant closure
    --&gt; drivers/gpu/drm/drm_panic_qr.rs:212:31
        |
    212 |         for v in (1..=40).map(|k| Version(k)) {
        |                               ^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Version`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
        = note: `-D clippy::redundant-closure` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Reported-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
Link: https://github.com/Rust-for-Linux/linux/issues/1123
Signed-off-by: Thomas Böhler &lt;witcher@wiredspace.de&gt;
Reviewed-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Link: https://lore.kernel.org/r/20241019084048.22336-2-witcher@wiredspace.de
[ Reworded to mention the redundant closure cleanup too. - Miguel ]
Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'drm-fixes-2024-10-04' of https://gitlab.freedesktop.org/drm/kernel</title>
<updated>2024-10-04T18:25:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2024-10-04T18:25:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=fe6fceceaecf4c7488832be18a37ddf9213782bc'/>
<id>urn:sha1:fe6fceceaecf4c7488832be18a37ddf9213782bc</id>
<content type='text'>
Pull drm fixes from Dave Airlie:
 "Weekly fixes, xe and amdgpu lead the way, with panthor, and few core
  components getting various fixes. Nothing seems too out of the
  ordinary.

  atomic:
   - Use correct type when reading damage rectangles

  display:
   - Fix kernel docs

  dp-mst:
   - Fix DSC decompression detection

  hdmi:
   - Fix infoframe size

  sched:
   - Update maintainers
   - Fix race condition whne queueing up jobs
   - Fix locking in drm_sched_entity_modify_sched()
   - Fix pointer deref if entity queue changes

  sysfb:
   - Disable sysfb if framebuffer parent device is unknown

  amdgpu:
   - DML2 fix
   - DSC fix
   - Dispclk fix
   - eDP HDR fix
   - IPS fix
   - TBT fix

  i915:
   - One fix for bitwise and logical "and" mixup in PM code

  xe:
   - Restore pci state on resume
   - Fix locking on submission, queue and vm
   - Fix UAF on queue destruction
   - Fix resource release on freq init error path
   - Use rw_semaphore to reduce contention on ASID-&gt;VM lookup
   - Fix steering for media on Xe2_HPM
   - Tuning updates to Xe2
   - Resume TDR after GT reset to prevent jobs running forever
   - Move id allocation to avoid userspace using a guessed number to
     trigger UAF
   - Fix OA stream close preventing pbatch buffers to complete
   - Fix NPD when migrating memory on LNL
   - Fix memory leak when aborting binds

  panthor:
   - Fix locking
   - Set FOP_UNSIGNED_OFFSET in fops instance
   - Acquire lock in panthor_vm_prepare_map_op_ctx()
   - Avoid uninitialized variable in tick_ctx_cleanup()
   - Do not block scheduler queue if work is pending
   - Do not add write fences to the shared BOs

  vbox:
   - Fix VLA handling"

* tag 'drm-fixes-2024-10-04' of https://gitlab.freedesktop.org/drm/kernel: (41 commits)
  drm/xe: Fix memory leak when aborting binds
  drm/xe: Prevent null pointer access in xe_migrate_copy
  drm/xe/oa: Don't reset OAC_CONTEXT_ENABLE on OA stream close
  drm/xe/queue: move xa_alloc to prevent UAF
  drm/xe/vm: move xa_alloc to prevent UAF
  drm/xe: Clean up VM / exec queue file lock usage.
  drm/xe: Resume TDR after GT reset
  drm/xe/xe2: Add performance tuning for L3 cache flushing
  drm/xe/xe2: Extend performance tuning to media GT
  drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM
  drm/xe: Use helper for ASID -&gt; VM in GPU faults and access counters
  drm/xe: Convert to USM lock to rwsem
  drm/xe: use devm_add_action_or_reset() helper
  drm/xe: fix UAF around queue destruction
  drm/xe/guc_submit: add missing locking in wedged_fini
  drm/xe: Restore pci state upon resume
  drm/amd/display: Fix system hang while resume with TBT monitor
  drm/amd/display: Enable idle workqueue for more IPS modes
  drm/amd/display: Add HDR workaround for specific eDP
  drm/amd/display: avoid set dispclk to 0
  ...
</content>
</entry>
<entry>
<title>Merge tag 'drm-xe-fixes-2024-10-03' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes</title>
<updated>2024-10-04T01:00:39Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2024-10-04T00:30:33Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=5b272bf7dcf969eb4f19ef994b6e60458ee6300f'/>
<id>urn:sha1:5b272bf7dcf969eb4f19ef994b6e60458ee6300f</id>
<content type='text'>
Driver Changes:
- Restore pci state on resume (Rodrigo Vivi)
- Fix locking on submission, queue and vm (Matthew Auld, Matthew Brost)
- Fix UAF on queue destruction (Matthew Auld)
- Fix resource release on freq init error path (He Lugang)
- Use rw_semaphore to reduce contention on ASID-&gt;VM lookup (Matthew Brost)
- Fix steering for media on Xe2_HPM (Gustavo Sousa)
- Tuning updates to Xe2 (Gustavo Sousa)
- Resume TDR after GT reset to prevent jobs running forever (Matthew Brost)
- Move id allocation to avoid userspace using a guessed number
  to trigger UAF (Matthew Auld, Matthew Brost)
- Fix OA stream close preventing pbatch buffers to complete (José)
- Fix NPD when migrating memory on LNL (Zhanjun Dong)
- Fix memory leak when aborting binds (Matthew Brost)

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

From: Lucas De Marchi &lt;lucas.demarchi@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/2fiv63yanlal5mpw3mxtotte6yvkvtex74c7mkjxca4bazlyja@o4iejcfragxy
</content>
</entry>
<entry>
<title>drm/xe: Fix memory leak when aborting binds</title>
<updated>2024-10-03T06:24:54Z</updated>
<author>
<name>Matthew Brost</name>
<email>matthew.brost@intel.com</email>
</author>
<published>2024-09-27T23:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a6f3b2527375c786f2eff77d3ee8b805bcfe026d'/>
<id>urn:sha1:a6f3b2527375c786f2eff77d3ee8b805bcfe026d</id>
<content type='text'>
Make sure to call xe_pt_update_ops_fini in xe_pt_update_ops_abort to
free any memory the bind allocated.

Caught by kmemleak when running Vulkan CTS tests on LNL. The leak
seems to happen only when there's some kind of failure happening, like
the lack of memory. Example output:

unreferenced object 0xffff9120bdf62000 (size 8192):
  comm "deqp-vk", pid 115008, jiffies 4310295728
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 1b 05 f9 28 01 00 00 40  ...........(...@
    00 00 00 00 00 00 00 00 1b 15 f9 28 01 00 00 40  ...........(...@
  backtrace (crc 7a56be79):
    [&lt;ffffffff86dd81f0&gt;] __kmalloc_cache_noprof+0x310/0x3d0
    [&lt;ffffffffc08e8211&gt;] xe_pt_new_shared.constprop.0+0x81/0xb0 [xe]
    [&lt;ffffffffc08e8309&gt;] xe_pt_insert_entry+0xb9/0x140 [xe]
    [&lt;ffffffffc08eab6d&gt;] xe_pt_stage_bind_entry+0x12d/0x5b0 [xe]
    [&lt;ffffffffc08ecbca&gt;] xe_pt_walk_range+0xea/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08e9eff&gt;] xe_pt_stage_bind.constprop.0+0x25f/0x580 [xe]
    [&lt;ffffffffc08eb21a&gt;] bind_op_prepare+0xea/0x6e0 [xe]
    [&lt;ffffffffc08ebab8&gt;] xe_pt_update_ops_prepare+0x1c8/0x440 [xe]
    [&lt;ffffffffc08ffbf3&gt;] ops_execute+0x143/0x850 [xe]
    [&lt;ffffffffc0900b64&gt;] vm_bind_ioctl_ops_execute+0x244/0x800 [xe]
    [&lt;ffffffffc0906467&gt;] xe_vm_bind_ioctl+0x1877/0x2370 [xe]
    [&lt;ffffffffc05e92b3&gt;] drm_ioctl_kernel+0xb3/0x110 [drm]
unreferenced object 0xffff9120bdf72000 (size 8192):
  comm "deqp-vk", pid 115008, jiffies 4310295728
  hex dump (first 32 bytes):
    6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
    6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
  backtrace (crc 23b2f0b5):
    [&lt;ffffffff86dd81f0&gt;] __kmalloc_cache_noprof+0x310/0x3d0
    [&lt;ffffffffc08e8211&gt;] xe_pt_new_shared.constprop.0+0x81/0xb0 [xe]
    [&lt;ffffffffc08e8453&gt;] xe_pt_stage_unbind_post_descend+0xb3/0x150 [xe]
    [&lt;ffffffffc08ecd26&gt;] xe_pt_walk_range+0x246/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08eccea&gt;] xe_pt_walk_range+0x20a/0x280 [xe]
    [&lt;ffffffffc08ece31&gt;] xe_pt_walk_shared+0xc1/0x110 [xe]
    [&lt;ffffffffc08e7b2a&gt;] xe_pt_stage_unbind+0x9a/0xd0 [xe]
    [&lt;ffffffffc08e913d&gt;] unbind_op_prepare+0xdd/0x270 [xe]
    [&lt;ffffffffc08eb9f6&gt;] xe_pt_update_ops_prepare+0x106/0x440 [xe]
    [&lt;ffffffffc08ffbf3&gt;] ops_execute+0x143/0x850 [xe]
    [&lt;ffffffffc0900b64&gt;] vm_bind_ioctl_ops_execute+0x244/0x800 [xe]
    [&lt;ffffffffc0906467&gt;] xe_vm_bind_ioctl+0x1877/0x2370 [xe]
    [&lt;ffffffffc05e92b3&gt;] drm_ioctl_kernel+0xb3/0x110 [drm]
    [&lt;ffffffffc05e95a0&gt;] drm_ioctl+0x280/0x4e0 [drm]

Reported-by: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2877
Fixes: a708f6501c69 ("drm/xe: Update PT layer with better error handling")
Signed-off-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Reviewed-by: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20240927232228.3255246-1-matthew.brost@intel.com
(cherry picked from commit 63e0695597a044c96bf369e4d8ba031291449d95)
Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@intel.com&gt;
</content>
</entry>
</feed>
