<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu, branch v6.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2024-01-05T02:27:53Z</updated>
<entry>
<title>drm/nouveau/dp: Honor GSP link training retry timeouts</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Lyude Paul</name>
<email>lyude@redhat.com</email>
</author>
<published>2023-12-22T04:32:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eb284f4b37817d2038fdfe1a9d51769730ab7b5f'/>
<id>urn:sha1:eb284f4b37817d2038fdfe1a9d51769730ab7b5f</id>
<content type='text'>
Turns out that one of the ways that Nvidia's driver handles the pre-LT
timeout for eDP panels is by providing a retry timeout in their link
training callbacks that we're expected to wait for. Up until now we didn't
pay any attention to this parameter.

So, start honoring the timeout if link training fails - and retry up to 3
times. The "3 times" bit comes from OpenRM's link training code.

[airlied: this fixes the panel on one of my laptops]

Signed-off-by: Lyude Paul &lt;lyude@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-12-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau: push event block/allowing out of the fence context</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eacabb5462717a52fccbbbba458365a4f5e61f35'/>
<id>urn:sha1:eacabb5462717a52fccbbbba458365a4f5e61f35</id>
<content type='text'>
There is a deadlock between the irq and fctx locks,
the irq handling takes irq then fctx lock
the fence signalling takes fctx then irq lock

This splits the fence signalling path so the code that hits
the irq lock is done in a separate work queue.

This seems to fix crashes/hangs when using nouveau gsp with
i915 primary GPU.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-11-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: always free the alloc messages on r535</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9c9dd22ba5d747cceee3d1b1757448b5c48ac705'/>
<id>urn:sha1:9c9dd22ba5d747cceee3d1b1757448b5c48ac705</id>
<content type='text'>
Fixes a memory leak seen with kmemleak.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-10-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: don't free ctrl messages on errors</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ae3a20102b20d1927737e1a78615386d58e194d'/>
<id>urn:sha1:4ae3a20102b20d1927737e1a78615386d58e194d</id>
<content type='text'>
It looks like for some messages the upper layers need to get access to the
results of the message so we can interpret it.

Rework the ctrl push interface to not free things and cleanup properly
whereever it errors out.

Requested-by: Lyude
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-9-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: convert gsp errors to generic errors</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=59f6a3d8db2573aba994b95074d8f9911c969bcb'/>
<id>urn:sha1:59f6a3d8db2573aba994b95074d8f9911c969bcb</id>
<content type='text'>
This should let the upper layers retry as needed on EAGAIN.

There may be other values we will care about in the future, but
this covers our present needs.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-8-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/nouveau/gsp: Fix ACPI MXDM/MXDS method invocations</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Lyude Paul</name>
<email>lyude@redhat.com</email>
</author>
<published>2023-12-22T04:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf22fc2846cee83061082fa373574d6cdeb4c006'/>
<id>urn:sha1:cf22fc2846cee83061082fa373574d6cdeb4c006</id>
<content type='text'>
Currently we get an error from ACPI because both of these arguments expect
a single argument, and we don't provide one. I'm not totally clear on what
that argument does, but we're able to find the missing value from
_acpiCacheMethodData() in src/kernel/platform/acpi_common.c in nvidia's
driver. So, let's add that - which doesn't get eDP displays to power on
quite yet, but gets rid of the argument warning at least.

Signed-off-by: Lyude Paul &lt;lyude@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-7-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: free userd allocation.</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3108cc03236b54c56e34de01227cdacf764c50a8'/>
<id>urn:sha1:3108cc03236b54c56e34de01227cdacf764c50a8</id>
<content type='text'>
This was being leaked.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-6-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: free acpi object after use</title>
<updated>2024-01-05T02:27:53Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a9b9b42b54b2c9251144b3b9d4ebcd83e5f8c230'/>
<id>urn:sha1:a9b9b42b54b2c9251144b3b9d4ebcd83e5f8c230</id>
<content type='text'>
This fixes a memory leak for the acpi dod object.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-5-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau: fix disp disabling with GSP</title>
<updated>2024-01-05T02:27:52Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7854ea0e408d7f2e8faaada1773f3ddf9cb538f5'/>
<id>urn:sha1:7854ea0e408d7f2e8faaada1773f3ddf9cb538f5</id>
<content type='text'>
This func ptr here is normally static allocation, but gsp r535
uses a dynamic pointer, so we need to handle that better.

This fixes a crash with GSP when you use config=disp=0 to avoid
disp problems.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-4-airlied@gmail.com
</content>
</entry>
<entry>
<title>nouveau/gsp: drop some acpi related debug</title>
<updated>2024-01-05T02:27:52Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2023-12-22T04:31:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=34ce62a51e65a8b1fce0eb64dea2719c9429b306'/>
<id>urn:sha1:34ce62a51e65a8b1fce0eb64dea2719c9429b306</id>
<content type='text'>
These were leftover debug, if we need to bring them back do so
for debugging later.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-3-airlied@gmail.com
</content>
</entry>
</feed>
